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

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

Issue 2586463002: Add CreateDataPropertyInLiteralFlags. (Closed)
Patch Set: Address review comments. Created 4 years 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/globals.h ('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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 // Named load property. 118 // Named load property.
119 BytecodeArrayBuilder& LoadNamedProperty(Register object, 119 BytecodeArrayBuilder& LoadNamedProperty(Register object,
120 const Handle<Name> name, 120 const Handle<Name> name,
121 int feedback_slot); 121 int feedback_slot);
122 // Keyed load property. The key should be in the accumulator. 122 // Keyed load property. The key should be in the accumulator.
123 BytecodeArrayBuilder& LoadKeyedProperty(Register object, int feedback_slot); 123 BytecodeArrayBuilder& LoadKeyedProperty(Register object, int feedback_slot);
124 124
125 // Store properties. Flag for NeedsSetFunctionName() should 125 // Store properties. Flag for NeedsSetFunctionName() should
126 // be in the accumulator. 126 // be in the accumulator.
127 BytecodeArrayBuilder& StoreDataPropertyInLiteral(Register object, 127 BytecodeArrayBuilder& StoreDataPropertyInLiteral(
128 Register name, 128 Register object, Register name, Register value,
129 Register value, 129 DataPropertyInLiteralFlags flags);
130 Register attrs);
131 130
132 // 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.
133 BytecodeArrayBuilder& StoreNamedProperty(Register object, 132 BytecodeArrayBuilder& StoreNamedProperty(Register object,
134 const Handle<Name> name, 133 const Handle<Name> name,
135 int feedback_slot, 134 int feedback_slot,
136 LanguageMode language_mode); 135 LanguageMode language_mode);
137 BytecodeArrayBuilder& StoreKeyedProperty(Register object, Register key, 136 BytecodeArrayBuilder& StoreKeyedProperty(Register object, Register key,
138 int feedback_slot, 137 int feedback_slot,
139 LanguageMode language_mode); 138 LanguageMode language_mode);
140 139
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 static int const kNoFeedbackSlot = 0; 436 static int const kNoFeedbackSlot = 0;
438 437
439 DISALLOW_COPY_AND_ASSIGN(BytecodeArrayBuilder); 438 DISALLOW_COPY_AND_ASSIGN(BytecodeArrayBuilder);
440 }; 439 };
441 440
442 } // namespace interpreter 441 } // namespace interpreter
443 } // namespace internal 442 } // namespace internal
444 } // namespace v8 443 } // namespace v8
445 444
446 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ 445 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_
OLDNEW
« no previous file with comments | « src/globals.h ('k') | src/interpreter/bytecode-array-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698