OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |