Index: src/hydrogen.cc |
=================================================================== |
--- src/hydrogen.cc (revision 9087) |
+++ src/hydrogen.cc (working copy) |
@@ -1382,7 +1382,7 @@ |
int id = block->block_id(); |
int side_effects = 0; |
while (instr != NULL) { |
- side_effects |= (instr->flags() & HValue::ChangesFlagsMask()); |
+ side_effects |= instr->ChangesFlags(); |
instr = instr->next(); |
} |
block_side_effects_[id] |= side_effects; |
@@ -1499,7 +1499,7 @@ |
HInstruction* instr = block->first(); |
while (instr != NULL) { |
HInstruction* next = instr->next(); |
- int flags = (instr->flags() & HValue::ChangesFlagsMask()); |
+ int flags = instr->ChangesFlags(); |
if (flags != 0) { |
ASSERT(!instr->CheckFlag(HValue::kUseGVN)); |
// Clear all instructions in the map that are affected by side effects. |