Index: src/interpreter/bytecode-array-builder.h |
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h |
index 36e4edaa72a8a81176fdebad5d9bfef219a208c6..eff1a704d10bfeb75683df58e51e62512e060d43 100644 |
--- a/src/interpreter/bytecode-array-builder.h |
+++ b/src/interpreter/bytecode-array-builder.h |
@@ -138,6 +138,11 @@ class V8_EXPORT_PRIVATE BytecodeArrayBuilder final |
Register object, Register name, DataPropertyInLiteralFlags flags, |
int feedback_slot); |
+ // Collect type information for developer tools. The value for which we |
+ // record the type is stored in the accumulator. |
+ // TODO(franzih): Do not pass the name, instead use the source position. |
+ BytecodeArrayBuilder& CollectTypeProfile(Register name, int feedback_slot); |
+ |
// Store a property named by a property name. The value to be stored should be |
// in the accumulator. |
BytecodeArrayBuilder& StoreNamedProperty(Register object, |