Index: src/interpreter/interpreter.cc |
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc |
index 60c5e595afa004eb8f1e4d1b5f1126492d376cee..83a7b28534df37076338af8ccc50840907dfe6d4 100644 |
--- a/src/interpreter/interpreter.cc |
+++ b/src/interpreter/interpreter.cc |
@@ -2351,7 +2351,7 @@ void Interpreter::DoTestUndefined(InterpreterAssembler* assembler) { |
// |
// Jump by number of bytes represented by the immediate operand |imm|. |
void Interpreter::DoJump(InterpreterAssembler* assembler) { |
- Node* relative_jump = __ BytecodeOperandImmIntPtr(0); |
+ Node* relative_jump = __ BytecodeOperandUImmWord(0); |
__ Jump(relative_jump); |
} |
@@ -2370,7 +2370,7 @@ void Interpreter::DoJumpConstant(InterpreterAssembler* assembler) { |
// accumulator contains true. |
void Interpreter::DoJumpIfTrue(InterpreterAssembler* assembler) { |
Node* accumulator = __ GetAccumulator(); |
- Node* relative_jump = __ BytecodeOperandImmIntPtr(0); |
+ Node* relative_jump = __ BytecodeOperandUImmWord(0); |
Node* true_value = __ BooleanConstant(true); |
__ JumpIfWordEqual(accumulator, true_value, relative_jump); |
} |
@@ -2393,7 +2393,7 @@ void Interpreter::DoJumpIfTrueConstant(InterpreterAssembler* assembler) { |
// accumulator contains false. |
void Interpreter::DoJumpIfFalse(InterpreterAssembler* assembler) { |
Node* accumulator = __ GetAccumulator(); |
- Node* relative_jump = __ BytecodeOperandImmIntPtr(0); |
+ Node* relative_jump = __ BytecodeOperandUImmWord(0); |
Node* false_value = __ BooleanConstant(false); |
__ JumpIfWordEqual(accumulator, false_value, relative_jump); |
} |
@@ -2416,7 +2416,7 @@ void Interpreter::DoJumpIfFalseConstant(InterpreterAssembler* assembler) { |
// referenced by the accumulator is true when the object is cast to boolean. |
void Interpreter::DoJumpIfToBooleanTrue(InterpreterAssembler* assembler) { |
Node* value = __ GetAccumulator(); |
- Node* relative_jump = __ BytecodeOperandImmIntPtr(0); |
+ Node* relative_jump = __ BytecodeOperandUImmWord(0); |
Label if_true(assembler), if_false(assembler); |
__ BranchIfToBooleanIsTrue(value, &if_true, &if_false); |
__ Bind(&if_true); |
@@ -2449,7 +2449,7 @@ void Interpreter::DoJumpIfToBooleanTrueConstant( |
// referenced by the accumulator is false when the object is cast to boolean. |
void Interpreter::DoJumpIfToBooleanFalse(InterpreterAssembler* assembler) { |
Node* value = __ GetAccumulator(); |
- Node* relative_jump = __ BytecodeOperandImmIntPtr(0); |
+ Node* relative_jump = __ BytecodeOperandUImmWord(0); |
Label if_true(assembler), if_false(assembler); |
__ BranchIfToBooleanIsTrue(value, &if_true, &if_false); |
__ Bind(&if_true); |
@@ -2483,7 +2483,7 @@ void Interpreter::DoJumpIfToBooleanFalseConstant( |
void Interpreter::DoJumpIfNull(InterpreterAssembler* assembler) { |
Node* accumulator = __ GetAccumulator(); |
Node* null_value = __ HeapConstant(isolate_->factory()->null_value()); |
- Node* relative_jump = __ BytecodeOperandImmIntPtr(0); |
+ Node* relative_jump = __ BytecodeOperandUImmWord(0); |
__ JumpIfWordEqual(accumulator, null_value, relative_jump); |
} |
@@ -2507,7 +2507,7 @@ void Interpreter::DoJumpIfUndefined(InterpreterAssembler* assembler) { |
Node* accumulator = __ GetAccumulator(); |
Node* undefined_value = |
__ HeapConstant(isolate_->factory()->undefined_value()); |
- Node* relative_jump = __ BytecodeOperandImmIntPtr(0); |
+ Node* relative_jump = __ BytecodeOperandUImmWord(0); |
__ JumpIfWordEqual(accumulator, undefined_value, relative_jump); |
} |
@@ -2530,7 +2530,7 @@ void Interpreter::DoJumpIfUndefinedConstant(InterpreterAssembler* assembler) { |
// referenced by the accumulator is a JSReceiver. |
void Interpreter::DoJumpIfJSReceiver(InterpreterAssembler* assembler) { |
Node* accumulator = __ GetAccumulator(); |
- Node* relative_jump = __ BytecodeOperandImmIntPtr(0); |
+ Node* relative_jump = __ BytecodeOperandUImmWord(0); |
Label if_object(assembler), if_notobject(assembler, Label::kDeferred), |
if_notsmi(assembler); |
@@ -2574,7 +2574,7 @@ void Interpreter::DoJumpIfJSReceiverConstant(InterpreterAssembler* assembler) { |
void Interpreter::DoJumpIfNotHole(InterpreterAssembler* assembler) { |
Node* accumulator = __ GetAccumulator(); |
Node* the_hole_value = __ HeapConstant(isolate_->factory()->the_hole_value()); |
- Node* relative_jump = __ BytecodeOperandImmIntPtr(0); |
+ Node* relative_jump = __ BytecodeOperandUImmWord(0); |
__ JumpIfWordNotEqual(accumulator, the_hole_value, relative_jump); |
} |
@@ -2596,7 +2596,7 @@ void Interpreter::DoJumpIfNotHoleConstant(InterpreterAssembler* assembler) { |
// performs a loop nesting check and potentially triggers OSR in case the |
// current OSR level matches (or exceeds) the specified |loop_depth|. |
void Interpreter::DoJumpLoop(InterpreterAssembler* assembler) { |
- Node* relative_jump = __ BytecodeOperandImmIntPtr(0); |
+ Node* relative_jump = __ BytecodeOperandUImmWord(0); |
Node* loop_depth = __ BytecodeOperandImm(1); |
Node* osr_level = __ LoadOSRNestingLevel(); |
@@ -2607,7 +2607,7 @@ void Interpreter::DoJumpLoop(InterpreterAssembler* assembler) { |
__ Branch(condition, &ok, &osr_armed); |
__ Bind(&ok); |
- __ Jump(relative_jump); |
+ __ Jump(relative_jump, true); |
__ Bind(&osr_armed); |
{ |
@@ -2615,7 +2615,7 @@ void Interpreter::DoJumpLoop(InterpreterAssembler* assembler) { |
Node* target = __ HeapConstant(callable.code()); |
Node* context = __ GetContext(); |
__ CallStub(callable.descriptor(), target, context); |
- __ Jump(relative_jump); |
+ __ Jump(relative_jump, true); |
} |
} |