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

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

Issue 1906823002: Move of the type feedback vector to the closure. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Created 4 years, 7 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/ia32/macro-assembler-ia32.cc ('k') | src/interpreter/interpreter-assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter/bytecode-generator.cc
diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc
index 3006b08ad13ed12a0cba8cd32ea93669f6620f07..656bd8b78652f4f721617004bbcd9673afb9e176 100644
--- a/src/interpreter/bytecode-generator.cc
+++ b/src/interpreter/bytecode-generator.cc
@@ -2338,9 +2338,7 @@ void BytecodeGenerator::VisitYield(Yield* expr) {
}
builder()->Bind(&resume_with_throw);
- builder()
- ->LoadAccumulatorWithRegister(input)
- .Throw();
+ builder()->LoadAccumulatorWithRegister(input).Throw();
builder()->Bind(&resume_with_next);
builder()->LoadAccumulatorWithRegister(input);
@@ -3279,7 +3277,7 @@ LanguageMode BytecodeGenerator::language_mode() const {
int BytecodeGenerator::feedback_index(FeedbackVectorSlot slot) const {
- return info()->shared_info()->feedback_vector()->GetIndex(slot);
+ return TypeFeedbackVector::GetIndex(slot);
}
} // namespace interpreter
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | src/interpreter/interpreter-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698