 Chromium Code Reviews
 Chromium Code Reviews Issue 2450243002:
  [ignition] Add a property call bytecode  (Closed)
    
  
    Issue 2450243002:
  [ignition] Add a property call bytecode  (Closed) 
  | Index: src/interpreter/interpreter.cc | 
| diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc | 
| index c9f06e4e008819a27c7545ec121cc9e46cf5b5d6..ef415a8e670779f28abc67fdd8e0a48b84437474 100644 | 
| --- a/src/interpreter/interpreter.cc | 
| +++ b/src/interpreter/interpreter.cc | 
| @@ -1626,6 +1626,18 @@ void Interpreter::DoCall(InterpreterAssembler* assembler) { | 
| DoJSCall(assembler, TailCallMode::kDisallow); | 
| } | 
| +// CallProperty <callable> <receiver> <arg_count> <feedback_slot_id> | 
| +// | 
| +// Call a JSfunction or Callable in |callable| with the |receiver| and | 
| +// |arg_count| arguments in subsequent registers. Collect type feedback | 
| +// into |feedback_slot_id|. The callable is known to be a named property of the | 
| 
rmcilroy
2016/10/26 16:20:16
drop "named"
 
Leszek Swirski
2016/10/27 09:08:24
Done.
 | 
| +// receiver. | 
| +void Interpreter::DoCallProperty(InterpreterAssembler* assembler) { | 
| + // TODO(leszeks): Look into making the interpreter use the fact that the | 
| + // receiver is non-null. | 
| + DoJSCall(assembler, TailCallMode::kDisallow); | 
| +} | 
| + | 
| // TailCall <callable> <receiver> <arg_count> <feedback_slot_id> | 
| // | 
| // Tail call a JSfunction or Callable in |callable| with the |receiver| and |