Index: src/interpreter/interpreter-assembler.h |
diff --git a/src/interpreter/interpreter-assembler.h b/src/interpreter/interpreter-assembler.h |
index 147ba502875e3bcb93e732564ffb369f8a86da1d..3f44f1298021228bc027a262b7fc5b2dc0593fc7 100644 |
--- a/src/interpreter/interpreter-assembler.h |
+++ b/src/interpreter/interpreter-assembler.h |
@@ -115,11 +115,6 @@ class InterpreterAssembler : public CodeStubAssembler { |
compiler::Node* Jump(compiler::Node* jump_offset); |
// Jump relative to the current bytecode by |jump_offset| if the |
- // |condition| is true. Helper function for JumpIfWordEqual and |
- // JumpIfWordNotEqual. |
- void JumpConditional(compiler::Node* condition, compiler::Node* jump_offset); |
- |
- // Jump relative to the current bytecode by |jump_offset| if the |
// word values |lhs| and |rhs| are equal. |
void JumpIfWordEqual(compiler::Node* lhs, compiler::Node* rhs, |
compiler::Node* jump_offset); |
@@ -129,8 +124,8 @@ class InterpreterAssembler : public CodeStubAssembler { |
void JumpIfWordNotEqual(compiler::Node* lhs, compiler::Node* rhs, |
compiler::Node* jump_offset); |
- // Perform a stack guard check. |
- void StackCheck(); |
+ // Returns true if the stack guard check triggers an interrupt. |
+ compiler::Node* StackCheckTriggeredInterrupt(); |
// Returns from the function. |
compiler::Node* InterpreterReturn(); |
@@ -207,6 +202,11 @@ class InterpreterAssembler : public CodeStubAssembler { |
compiler::Node* BytecodeUnsignedOperand(int operand_index, |
OperandSize operand_size); |
+ // Jump relative to the current bytecode by |jump_offset| if the |
+ // |condition| is true. Helper function for JumpIfWordEqual and |
+ // JumpIfWordNotEqual. |
+ void JumpConditional(compiler::Node* condition, compiler::Node* jump_offset); |
+ |
// Returns BytecodeOffset() advanced by delta bytecodes. Note: this does not |
// update BytecodeOffset() itself. |
compiler::Node* Advance(int delta); |