Unverified Commit c597dc35 authored by Mingming Liu's avatar Mingming Liu Committed by GitHub
Browse files

[nfc][InstrProfTest]Factor out common code for value profile test (#72611)

Three existing test cases {get_icall_data_read_write, get_icall_data_read_write_with_weight,get_icall_data_read_write_big_endian} have common test data and testing
logic. Extract common code into `testICallDataReadWrite`.
- Add helper function `addValueProfData` and `testValueDataArray`. This two helper functions are used by `testICallDataReadWrite`, and possibly other test cases.
parent 523c0d3e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment