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

Side by Side Diff: src/code-stub-assembler.h

Issue 2471033004: [ignition,modules] Introduce bytecodes for loading/storing module variables. (Closed)
Patch Set: More comments. 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 | « no previous file | src/code-stub-assembler.cc » ('j') | src/compiler/bytecode-graph-builder.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_CODE_STUB_ASSEMBLER_H_ 5 #ifndef V8_CODE_STUB_ASSEMBLER_H_
6 #define V8_CODE_STUB_ASSEMBLER_H_ 6 #define V8_CODE_STUB_ASSEMBLER_H_
7 7
8 #include <functional> 8 #include <functional>
9 9
10 #include "src/compiler/code-assembler.h" 10 #include "src/compiler/code-assembler.h"
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 compiler::Node* LoadFixedTypedArrayElement( 327 compiler::Node* LoadFixedTypedArrayElement(
328 compiler::Node* data_pointer, compiler::Node* index_node, 328 compiler::Node* data_pointer, compiler::Node* index_node,
329 ElementsKind elements_kind, 329 ElementsKind elements_kind,
330 ParameterMode parameter_mode = INTEGER_PARAMETERS); 330 ParameterMode parameter_mode = INTEGER_PARAMETERS);
331 331
332 // Context manipulation 332 // Context manipulation
333 compiler::Node* LoadContextElement(compiler::Node* context, int slot_index); 333 compiler::Node* LoadContextElement(compiler::Node* context, int slot_index);
334 compiler::Node* StoreContextElement(compiler::Node* context, int slot_index, 334 compiler::Node* StoreContextElement(compiler::Node* context, int slot_index,
335 compiler::Node* value); 335 compiler::Node* value);
336 compiler::Node* LoadNativeContext(compiler::Node* context); 336 compiler::Node* LoadNativeContext(compiler::Node* context);
337 compiler::Node* LoadModuleContext(compiler::Node* context);
337 338
338 compiler::Node* LoadJSArrayElementsMap(ElementsKind kind, 339 compiler::Node* LoadJSArrayElementsMap(ElementsKind kind,
339 compiler::Node* native_context); 340 compiler::Node* native_context);
340 341
341 // Store the floating point value of a HeapNumber. 342 // Store the floating point value of a HeapNumber.
342 compiler::Node* StoreHeapNumberValue(compiler::Node* object, 343 compiler::Node* StoreHeapNumberValue(compiler::Node* object,
343 compiler::Node* value); 344 compiler::Node* value);
344 // Store a field to an object on the heap. 345 // Store a field to an object on the heap.
345 compiler::Node* StoreObjectField( 346 compiler::Node* StoreObjectField(
346 compiler::Node* object, int offset, compiler::Node* value); 347 compiler::Node* object, int offset, compiler::Node* value);
(...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after
1204 } 1205 }
1205 #else 1206 #else
1206 #define CSA_SLOW_ASSERT(x) 1207 #define CSA_SLOW_ASSERT(x)
1207 #endif 1208 #endif
1208 1209
1209 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); 1210 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags);
1210 1211
1211 } // namespace internal 1212 } // namespace internal
1212 } // namespace v8 1213 } // namespace v8
1213 #endif // V8_CODE_STUB_ASSEMBLER_H_ 1214 #endif // V8_CODE_STUB_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « no previous file | src/code-stub-assembler.cc » ('j') | src/compiler/bytecode-graph-builder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698