Index: src/interpreter/interpreter.cc |
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc |
index 35c0489b6c1625cbad0953a73c9e870c2f4446ea..178a4ca7b2b84c79b6bd04ca2b500edc587b77c6 100644 |
--- a/src/interpreter/interpreter.cc |
+++ b/src/interpreter/interpreter.cc |
@@ -967,6 +967,19 @@ void Interpreter::DoStaDataPropertyInLiteral(InterpreterAssembler* assembler) { |
__ Dispatch(); |
} |
+void Interpreter::DoCollectTypeProfile(InterpreterAssembler* assembler) { |
+ Node* name = __ LoadRegister(__ BytecodeOperandReg(0)); |
+ Node* value = __ LoadRegister(__ BytecodeOperandReg(1)); |
+ Node* vector_index = __ SmiTag(__ BytecodeOperandIdx(2)); |
+ |
+ Node* feedback_vector = __ LoadFeedbackVector(); |
+ Node* context = __ GetContext(); |
+ |
+ __ CallRuntime(Runtime::kStoreTypeInformation, context, name, value, |
+ feedback_vector, vector_index); |
+ __ Dispatch(); |
+} |
+ |
// LdaModuleVariable <cell_index> <depth> |
// |
// Load the contents of a module variable into the accumulator. The variable is |