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

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

Issue 1385623002: [Interpreter]: Add support for strict mode load / store ICs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix gcc error Created 5 years, 2 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/interpreter/bytecode-array-builder.cc ('k') | src/interpreter/bytecode-generator.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 #ifndef V8_INTERPRETER_BYTECODE_GENERATOR_H_ 5 #ifndef V8_INTERPRETER_BYTECODE_GENERATOR_H_
6 #define V8_INTERPRETER_BYTECODE_GENERATOR_H_ 6 #define V8_INTERPRETER_BYTECODE_GENERATOR_H_
7 7
8 #include "src/ast.h" 8 #include "src/ast.h"
9 #include "src/interpreter/bytecode-array-builder.h" 9 #include "src/interpreter/bytecode-array-builder.h"
10 #include "src/interpreter/bytecodes.h" 10 #include "src/interpreter/bytecodes.h"
(...skipping 30 matching lines...) Expand all
41 41
42 inline BytecodeArrayBuilder* builder() { return &builder_; } 42 inline BytecodeArrayBuilder* builder() { return &builder_; }
43 inline Scope* scope() const { return scope_; } 43 inline Scope* scope() const { return scope_; }
44 inline void set_scope(Scope* scope) { scope_ = scope; } 44 inline void set_scope(Scope* scope) { scope_ = scope; }
45 inline ControlScope* control_scope() const { return control_scope_; } 45 inline ControlScope* control_scope() const { return control_scope_; }
46 inline void set_control_scope(ControlScope* scope) { control_scope_ = scope; } 46 inline void set_control_scope(ControlScope* scope) { control_scope_ = scope; }
47 inline CompilationInfo* info() const { return info_; } 47 inline CompilationInfo* info() const { return info_; }
48 inline void set_info(CompilationInfo* info) { info_ = info; } 48 inline void set_info(CompilationInfo* info) { info_ = info; }
49 49
50 LanguageMode language_mode() const; 50 LanguageMode language_mode() const;
51 Strength language_mode_strength() const;
51 int feedback_index(FeedbackVectorSlot slot) const; 52 int feedback_index(FeedbackVectorSlot slot) const;
52 53
53 BytecodeArrayBuilder builder_; 54 BytecodeArrayBuilder builder_;
54 CompilationInfo* info_; 55 CompilationInfo* info_;
55 Scope* scope_; 56 Scope* scope_;
56 ControlScope* control_scope_; 57 ControlScope* control_scope_;
57 }; 58 };
58 59
59 } // namespace interpreter 60 } // namespace interpreter
60 } // namespace internal 61 } // namespace internal
61 } // namespace v8 62 } // namespace v8
62 63
63 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_ 64 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_
OLDNEW
« no previous file with comments | « src/interpreter/bytecode-array-builder.cc ('k') | src/interpreter/bytecode-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698