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

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

Issue 2510743002: [interpreter] Bytecode for StaDataPropertyInLiteral. (Closed)
Patch Set: Add comment and move interpreter function. Created 4 years, 1 month 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/base/compiler-specific.h" 9 #include "src/base/compiler-specific.h"
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 // Register-register transfer. 114 // Register-register transfer.
115 BytecodeArrayBuilder& MoveRegister(Register from, Register to); 115 BytecodeArrayBuilder& MoveRegister(Register from, Register to);
116 116
117 // Named load property. 117 // Named load property.
118 BytecodeArrayBuilder& LoadNamedProperty(Register object, 118 BytecodeArrayBuilder& LoadNamedProperty(Register object,
119 const Handle<Name> name, 119 const Handle<Name> name,
120 int feedback_slot); 120 int feedback_slot);
121 // Keyed load property. The key should be in the accumulator. 121 // Keyed load property. The key should be in the accumulator.
122 BytecodeArrayBuilder& LoadKeyedProperty(Register object, int feedback_slot); 122 BytecodeArrayBuilder& LoadKeyedProperty(Register object, int feedback_slot);
123 123
124 // Store properties. Flag for NeedsSetFunctionName() should
125 // be in the accumulator.
126 BytecodeArrayBuilder& StoreDataPropertyInLiteral(Register object,
127 Register name,
128 Register value,
129 Register attrs);
130
124 // Store properties. The value to be stored should be in the accumulator. 131 // Store properties. The value to be stored should be in the accumulator.
125 BytecodeArrayBuilder& StoreNamedProperty(Register object, 132 BytecodeArrayBuilder& StoreNamedProperty(Register object,
126 const Handle<Name> name, 133 const Handle<Name> name,
127 int feedback_slot, 134 int feedback_slot,
128 LanguageMode language_mode); 135 LanguageMode language_mode);
129 BytecodeArrayBuilder& StoreKeyedProperty(Register object, Register key, 136 BytecodeArrayBuilder& StoreKeyedProperty(Register object, Register key,
130 int feedback_slot, 137 int feedback_slot,
131 LanguageMode language_mode); 138 LanguageMode language_mode);
132 139
133 // Lookup the variable with |name|. 140 // Lookup the variable with |name|.
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 static int const kNoFeedbackSlot = 0; 422 static int const kNoFeedbackSlot = 0;
416 423
417 DISALLOW_COPY_AND_ASSIGN(BytecodeArrayBuilder); 424 DISALLOW_COPY_AND_ASSIGN(BytecodeArrayBuilder);
418 }; 425 };
419 426
420 } // namespace interpreter 427 } // namespace interpreter
421 } // namespace internal 428 } // namespace internal
422 } // namespace v8 429 } // namespace v8
423 430
424 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ 431 #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