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

Side by Side Diff: src/interpreter/bytecode-array-builder.h

Issue 1666943003: [interpreter] Support for ES6 class literals. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Another tweak to cctest.status. 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/compiler/bytecode-graph-builder.cc ('k') | src/interpreter/bytecode-array-builder.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_ARRAY_BUILDER_H_ 5 #ifndef V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_
6 #define V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ 6 #define V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_
7 7
8 #include "src/ast/ast.h" 8 #include "src/ast/ast.h"
9 #include "src/interpreter/bytecode-register-allocator.h" 9 #include "src/interpreter/bytecode-register-allocator.h"
10 #include "src/interpreter/bytecodes.h" 10 #include "src/interpreter/bytecodes.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // Constant loads to accumulator. 88 // Constant loads to accumulator.
89 BytecodeArrayBuilder& LoadLiteral(v8::internal::Smi* value); 89 BytecodeArrayBuilder& LoadLiteral(v8::internal::Smi* value);
90 BytecodeArrayBuilder& LoadLiteral(Handle<Object> object); 90 BytecodeArrayBuilder& LoadLiteral(Handle<Object> object);
91 BytecodeArrayBuilder& LoadUndefined(); 91 BytecodeArrayBuilder& LoadUndefined();
92 BytecodeArrayBuilder& LoadNull(); 92 BytecodeArrayBuilder& LoadNull();
93 BytecodeArrayBuilder& LoadTheHole(); 93 BytecodeArrayBuilder& LoadTheHole();
94 BytecodeArrayBuilder& LoadTrue(); 94 BytecodeArrayBuilder& LoadTrue();
95 BytecodeArrayBuilder& LoadFalse(); 95 BytecodeArrayBuilder& LoadFalse();
96 BytecodeArrayBuilder& LoadBooleanConstant(bool value); 96 BytecodeArrayBuilder& LoadBooleanConstant(bool value);
97 97
98 // Load object prototype (or initial map).
99 BytecodeArrayBuilder& LoadPrototypeOrInitialMap();
100
98 // Global loads to the accumulator and stores from the accumulator. 101 // Global loads to the accumulator and stores from the accumulator.
99 BytecodeArrayBuilder& LoadGlobal(const Handle<String> name, int feedback_slot, 102 BytecodeArrayBuilder& LoadGlobal(const Handle<String> name, int feedback_slot,
100 LanguageMode language_mode, 103 LanguageMode language_mode,
101 TypeofMode typeof_mode); 104 TypeofMode typeof_mode);
102 BytecodeArrayBuilder& StoreGlobal(const Handle<String> name, 105 BytecodeArrayBuilder& StoreGlobal(const Handle<String> name,
103 int feedback_slot, 106 int feedback_slot,
104 LanguageMode language_mode); 107 LanguageMode language_mode);
105 108
106 // Load the object at |slot_index| in |context| into the accumulator. 109 // Load the object at |slot_index| in |context| into the accumulator.
107 BytecodeArrayBuilder& LoadContextSlot(Register context, int slot_index); 110 BytecodeArrayBuilder& LoadContextSlot(Register context, int slot_index);
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 size_t offset_; 421 size_t offset_;
419 422
420 friend class BytecodeArrayBuilder; 423 friend class BytecodeArrayBuilder;
421 }; 424 };
422 425
423 } // namespace interpreter 426 } // namespace interpreter
424 } // namespace internal 427 } // namespace internal
425 } // namespace v8 428 } // namespace v8
426 429
427 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ 430 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_
OLDNEW
« no previous file with comments | « src/compiler/bytecode-graph-builder.cc ('k') | src/interpreter/bytecode-array-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698