Index: src/interpreter/bytecode-array-builder.h |
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h |
index cb3fed9f99a8ff5a29b75dd4aefce22af457aec4..4d5a3454e07e98c1737ce176b75c208b724395d3 100644 |
--- a/src/interpreter/bytecode-array-builder.h |
+++ b/src/interpreter/bytecode-array-builder.h |
@@ -152,7 +152,8 @@ class BytecodeArrayBuilder final : public ZoneObject { |
// Call a JS function. The JSFunction or Callable to be called should be in |
// |callable|, the receiver should be in |receiver_args| and all subsequent |
// arguments should be in registers <receiver_args + 1> to |
- // <receiver_args + receiver_arg_count - 1>. |
+ // <receiver_args + receiver_arg_count - 1>. Type feedback is recorded in |
+ // the |feedback_slot| in the type feedback vector. |
BytecodeArrayBuilder& Call( |
Register callable, Register receiver_args, size_t receiver_arg_count, |
int feedback_slot, TailCallMode tail_call_mode = TailCallMode::kDisallow); |
@@ -303,6 +304,7 @@ class BytecodeArrayBuilder final : public ZoneObject { |
static Bytecode BytecodeForCreateArguments(CreateArgumentsType type); |
static Bytecode BytecodeForDelete(LanguageMode language_mode); |
static Bytecode BytecodeForCall(TailCallMode tail_call_mode); |
+ static Bytecode BytecodeForCallWithFeedback(TailCallMode tail_call_mode); |
rmcilroy
2016/07/12 09:36:20
Remove
mythria
2016/07/12 15:20:35
Done.
|
void Output(Bytecode bytecode, uint32_t operand0, uint32_t operand1, |
uint32_t operand2, uint32_t operand3); |