Index: src/compiler/interpreter-assembler.h |
diff --git a/src/compiler/interpreter-assembler.h b/src/compiler/interpreter-assembler.h |
index 6fd09e537ba328e858f89d7bfa9d83ffb3167e84..e3dd7b5a654d6edd10a754afc00917151e808d1a 100644 |
--- a/src/compiler/interpreter-assembler.h |
+++ b/src/compiler/interpreter-assembler.h |
@@ -148,12 +148,21 @@ class InterpreterAssembler { |
void Jump(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(Node* condition, Node* jump_offset); |
+ |
+ // Jump relative to the current bytecode by |jump_offset| if the |
// word values |lhs| and |rhs| are equal. |
void JumpIfWordEqual(Node* lhs, Node* rhs, Node* jump_offset); |
// Perform a stack guard check. |
void StackCheck(); |
+ // Jump relative to the current bytecode by |jump_offset| if the |
+ // word values |lhs| and |rhs| are not equal. |
+ void JumpIfWordNotEqual(Node* lhs, Node* rhs, Node* jump_offset); |
Michael Starzinger
2016/02/08 11:54:08
nit: Lets move this up one function to before the
mythria
2016/02/08 13:22:33
Done.
|
+ |
// Returns from the function. |
void Return(); |