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

Side by Side Diff: src/interpreter/bytecode-generator.cc

Issue 1670813005: Revert of Type Feedback Vector lives in the closure (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/interpreter/bytecode-generator.h" 5 #include "src/interpreter/bytecode-generator.h"
6 6
7 #include "src/ast/scopes.h" 7 #include "src/ast/scopes.h"
8 #include "src/compiler.h" 8 #include "src/compiler.h"
9 #include "src/interpreter/bytecode-register-allocator.h" 9 #include "src/interpreter/bytecode-register-allocator.h"
10 #include "src/interpreter/control-flow-builders.h" 10 #include "src/interpreter/control-flow-builders.h"
(...skipping 2537 matching lines...) Expand 10 before | Expand all | Expand 10 after
2548 return info()->language_mode(); 2548 return info()->language_mode();
2549 } 2549 }
2550 2550
2551 2551
2552 Strength BytecodeGenerator::language_mode_strength() const { 2552 Strength BytecodeGenerator::language_mode_strength() const {
2553 return strength(language_mode()); 2553 return strength(language_mode());
2554 } 2554 }
2555 2555
2556 2556
2557 int BytecodeGenerator::feedback_index(FeedbackVectorSlot slot) const { 2557 int BytecodeGenerator::feedback_index(FeedbackVectorSlot slot) const {
2558 return TypeFeedbackVector::GetIndex(slot); 2558 return info()->feedback_vector()->GetIndex(slot);
2559 } 2559 }
2560 2560
2561 } // namespace interpreter 2561 } // namespace interpreter
2562 } // namespace internal 2562 } // namespace internal
2563 } // namespace v8 2563 } // namespace v8
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698