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

Unified Diff: src/interpreter/interpreter-generator.cc

Issue 2755973002: [type profile] Collect return types. (Closed)
Patch Set: Rebase. 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
« no previous file with comments | « src/interpreter/bytecodes.h ('k') | src/runtime/runtime-object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter/interpreter-generator.cc
diff --git a/src/interpreter/interpreter-generator.cc b/src/interpreter/interpreter-generator.cc
index 62d62270311d4ebab3b8104fba9db3ed0b832d2c..741aa3697ba04d15a6868aeea4ba52397f1f6799 100644
--- a/src/interpreter/interpreter-generator.cc
+++ b/src/interpreter/interpreter-generator.cc
@@ -822,14 +822,14 @@ void InterpreterGenerator::DoStaDataPropertyInLiteral(
void InterpreterGenerator::DoCollectTypeProfile(
InterpreterAssembler* assembler) {
- Node* name = __ LoadRegister(__ BytecodeOperandReg(0));
+ Node* position = __ BytecodeOperandImmSmi(0);
Node* value = __ GetAccumulator();
Node* vector_index = __ SmiTag(__ BytecodeOperandIdx(1));
Node* feedback_vector = __ LoadFeedbackVector();
Node* context = __ GetContext();
- __ CallRuntime(Runtime::kCollectTypeProfile, context, name, value,
+ __ CallRuntime(Runtime::kCollectTypeProfile, context, position, value,
feedback_vector, vector_index);
__ Dispatch();
}
« no previous file with comments | « src/interpreter/bytecodes.h ('k') | src/runtime/runtime-object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698