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

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

Issue 1693833002: Remove strong mode support from binary operations. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments. 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
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/ast.h" 8 #include "src/ast/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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 inline void set_register_allocator( 189 inline void set_register_allocator(
190 RegisterAllocationScope* register_allocator) { 190 RegisterAllocationScope* register_allocator) {
191 register_allocator_ = register_allocator; 191 register_allocator_ = register_allocator;
192 } 192 }
193 RegisterAllocationScope* register_allocator() const { 193 RegisterAllocationScope* register_allocator() const {
194 return register_allocator_; 194 return register_allocator_;
195 } 195 }
196 196
197 ZoneVector<Handle<Object>>* globals() { return &globals_; } 197 ZoneVector<Handle<Object>>* globals() { return &globals_; }
198 inline LanguageMode language_mode() const; 198 inline LanguageMode language_mode() const;
199 Strength language_mode_strength() const;
200 int feedback_index(FeedbackVectorSlot slot) const; 199 int feedback_index(FeedbackVectorSlot slot) const;
201 200
202 Isolate* isolate_; 201 Isolate* isolate_;
203 Zone* zone_; 202 Zone* zone_;
204 BytecodeArrayBuilder* builder_; 203 BytecodeArrayBuilder* builder_;
205 CompilationInfo* info_; 204 CompilationInfo* info_;
206 Scope* scope_; 205 Scope* scope_;
207 ZoneVector<Handle<Object>> globals_; 206 ZoneVector<Handle<Object>> globals_;
208 ControlScope* execution_control_; 207 ControlScope* execution_control_;
209 ContextScope* execution_context_; 208 ContextScope* execution_context_;
210 ExpressionResultScope* execution_result_; 209 ExpressionResultScope* execution_result_;
211 RegisterAllocationScope* register_allocator_; 210 RegisterAllocationScope* register_allocator_;
212 int try_catch_nesting_level_; 211 int try_catch_nesting_level_;
213 int try_finally_nesting_level_; 212 int try_finally_nesting_level_;
214 }; 213 };
215 214
216 } // namespace interpreter 215 } // namespace interpreter
217 } // namespace internal 216 } // namespace internal
218 } // namespace v8 217 } // namespace v8
219 218
220 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_ 219 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698