mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:28:12 +00:00
LibJS: Add a note about inaccuracies to UnifySameBlocks
This commit is contained in:
parent
c66284ab0b
commit
c9e7d452c5
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@ void UnifySameBlocks::perform(PassPipelineExecutable& executable)
|
|||
continue;
|
||||
|
||||
auto candidate_bytes = candidate_block->instruction_stream();
|
||||
// FIXME: NewBigInt's value is not correctly reflected by its encoding in memory,
|
||||
// this will yield false negatives for blocks containing that
|
||||
if (memcmp(candidate_bytes.data(), block_bytes.data(), candidate_block->size()) == 0)
|
||||
equal_blocks.set(&*candidate_block, &block);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue