Index: src/interpreter/bytecode-array-builder.cc |
diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc |
index 4a1602a1d6ea6c3749cc74b30111c53a4cd1e730..55160183e7713b39f87596f3cf9d3669ab1a1911 100644 |
--- a/src/interpreter/bytecode-array-builder.cc |
+++ b/src/interpreter/bytecode-array-builder.cc |
@@ -1135,6 +1135,13 @@ BytecodeArrayBuilder& BytecodeArrayBuilder::CallRuntime( |
DCHECK_EQ(0u, arg_count); |
first_arg = Register(0); |
} |
+ if (function_id == Runtime::kInlineIsJSReceiver || |
+ function_id == Runtime::kInlineIsArray) { |
+ // Arg is in the accumulator |
oth
2016/02/01 09:52:33
Comment seems distracting. Neither the interpreter
epertoso
2016/03/03 11:20:39
Removed.
|
+ Output(Bytecode::kIntrinsicOneArg, static_cast<uint16_t>(function_id), |
+ first_arg.ToRawOperand()); |
+ return *this; |
+ } |
if (FitsInReg8Operand(first_arg) && FitsInIdx8Operand(arg_count)) { |
Output(Bytecode::kCallRuntime, static_cast<uint16_t>(function_id), |
first_arg.ToRawOperand(), static_cast<uint8_t>(arg_count)); |