Index: src/interpreter/interpreter-assembler.cc |
diff --git a/src/interpreter/interpreter-assembler.cc b/src/interpreter/interpreter-assembler.cc |
index dc5f9afbba02ff7d562f51a6c7bb8a614301bbb2..03d7a542be148b424bfaa560091212edd30b2658 100644 |
--- a/src/interpreter/interpreter-assembler.cc |
+++ b/src/interpreter/interpreter-assembler.cc |
@@ -548,10 +548,8 @@ Node* InterpreterAssembler::CallJSWithFeedback(Node* function, Node* context, |
StoreFixedArrayElement(type_feedback_vector, call_count_slot, |
SmiTag(Int32Constant(1)), SKIP_WRITE_BARRIER); |
- CreateWeakCellStub weak_cell_stub(isolate()); |
- CallStub(weak_cell_stub.GetCallInterfaceDescriptor(), |
- HeapConstant(weak_cell_stub.GetCode()), context, |
- type_feedback_vector, SmiTag(slot_id), function); |
+ CreateWeakCellInFeedbackVector(type_feedback_vector, SmiTag(slot_id), |
Benedikt Meurer
2016/07/28 10:30:45
Awesome!
|
+ function); |
// Call using call function builtin. |
Callable callable = CodeFactory::InterpreterPushArgsAndCall( |