Index: src/interpreter/bytecode-array-builder.cc |
diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc |
index 9dab2da77a02e08217382a6ea93daf54ae6ac8f2..dfc5d183e0e782d01be5082857e91d8e9f52e869 100644 |
--- a/src/interpreter/bytecode-array-builder.cc |
+++ b/src/interpreter/bytecode-array-builder.cc |
@@ -725,6 +725,12 @@ BytecodeArrayBuilder& BytecodeArrayBuilder::JumpIfNotHole( |
return *this; |
} |
+BytecodeArrayBuilder& BytecodeArrayBuilder::JumpIfJSReceiver( |
+ BytecodeLabel* label) { |
+ OutputJumpIfJSReceiver(label, 0); |
+ return *this; |
+} |
+ |
BytecodeArrayBuilder& BytecodeArrayBuilder::JumpLoop(BytecodeLabel* label, |
int loop_depth) { |
OutputJumpLoop(label, 0, loop_depth); |