Index: test/cctest/compiler/test-jump-threading.cc |
diff --git a/test/cctest/compiler/test-jump-threading.cc b/test/cctest/compiler/test-jump-threading.cc |
index 45e9d0e7e080962ddfce8b4306677facbb841337..d9825033ebe8c0b73f812b175a162718606e0fd3 100644 |
--- a/test/cctest/compiler/test-jump-threading.cc |
+++ b/test/cctest/compiler/test-jump-threading.cc |
@@ -32,8 +32,8 @@ |
int Jump(int target) { |
Start(); |
InstructionOperand* ops[] = {UseRpo(target)}; |
- sequence_.AddInstruction( |
- Instruction::New(main_zone(), kArchJmp, 0, NULL, 1, ops, 0, NULL)); |
+ sequence_.AddInstruction(Instruction::New(main_zone(), kArchJmp, 0, NULL, 1, |
+ ops, 0, NULL)->MarkAsControl()); |
int pos = static_cast<int>(sequence_.instructions().size() - 1); |
End(); |
return pos; |
@@ -47,8 +47,8 @@ |
InstructionOperand* ops[] = {UseRpo(ttarget), UseRpo(ftarget)}; |
InstructionCode code = 119 | FlagsModeField::encode(kFlags_branch) | |
FlagsConditionField::encode(kEqual); |
- sequence_.AddInstruction( |
- Instruction::New(main_zone(), code, 0, NULL, 2, ops, 0, NULL)); |
+ sequence_.AddInstruction(Instruction::New(main_zone(), code, 0, NULL, 2, |
+ ops, 0, NULL)->MarkAsControl()); |
int pos = static_cast<int>(sequence_.instructions().size() - 1); |
End(); |
return pos; |