Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Unified Diff: src/interpreter/bytecode-array-builder.h

Issue 2755973002: [type profile] Collect return types. (Closed)
Patch Set: Clean up. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/interpreter/bytecode-array-builder.h
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h
index eff1a704d10bfeb75683df58e51e62512e060d43..92dcc7c3516fd98d211b91c52ee540fa048b2cd3 100644
--- a/src/interpreter/bytecode-array-builder.h
+++ b/src/interpreter/bytecode-array-builder.h
@@ -141,7 +141,8 @@ class V8_EXPORT_PRIVATE BytecodeArrayBuilder final
// 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);
+ BytecodeArrayBuilder& CollectTypeProfile(Register position, Register name,
+ int feedback_slot);
// Store a property named by a property name. The value to be stored should be
// in the accumulator.

Powered by Google App Engine
This is Rietveld 408576698