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

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

Issue 2655853010: [TypeFeedbackVector] Combine the literals array and the feedback vector. (Closed)
Patch Set: more comments. Created 3 years, 11 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/bytecode-generator.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter/interpreter-assembler.cc
diff --git a/src/interpreter/interpreter-assembler.cc b/src/interpreter/interpreter-assembler.cc
index 6aa1f70683a58ae619aee7cfed037531ef0b9e70..34fbc433a94e4e6d8e11e9ae9451adf4fe5801fc 100644
--- a/src/interpreter/interpreter-assembler.cc
+++ b/src/interpreter/interpreter-assembler.cc
@@ -467,9 +467,7 @@ Node* InterpreterAssembler::LoadAndUntagConstantPoolEntry(Node* index) {
Node* InterpreterAssembler::LoadTypeFeedbackVector() {
Node* function = LoadRegister(Register::function_closure());
- Node* literals = LoadObjectField(function, JSFunction::kLiteralsOffset);
- Node* vector =
- LoadObjectField(literals, LiteralsArray::kFeedbackVectorOffset);
+ Node* vector = LoadObjectField(function, JSFunction::kFeedbackVectorOffset);
return vector;
}
« no previous file with comments | « src/interpreter/bytecode-generator.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698