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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 | 439 |
440 // Load Float64 value by |base| + |offset| address. If the value is a double | 440 // Load Float64 value by |base| + |offset| address. If the value is a double |
441 // hole then jump to |if_hole|. If |machine_type| is None then only the hole | 441 // hole then jump to |if_hole|. If |machine_type| is None then only the hole |
442 // check is generated. | 442 // check is generated. |
443 Node* LoadDoubleWithHoleCheck( | 443 Node* LoadDoubleWithHoleCheck( |
444 Node* base, Node* offset, Label* if_hole, | 444 Node* base, Node* offset, Label* if_hole, |
445 MachineType machine_type = MachineType::Float64()); | 445 MachineType machine_type = MachineType::Float64()); |
446 Node* LoadFixedTypedArrayElement( | 446 Node* LoadFixedTypedArrayElement( |
447 Node* data_pointer, Node* index_node, ElementsKind elements_kind, | 447 Node* data_pointer, Node* index_node, ElementsKind elements_kind, |
448 ParameterMode parameter_mode = INTPTR_PARAMETERS); | 448 ParameterMode parameter_mode = INTPTR_PARAMETERS); |
| 449 Node* LoadFixedTypedArrayElementAsTagged( |
| 450 Node* data_pointer, Node* index_node, ElementsKind elements_kind, |
| 451 ParameterMode parameter_mode = INTPTR_PARAMETERS); |
449 | 452 |
450 // Context manipulation | 453 // Context manipulation |
451 Node* LoadContextElement(Node* context, int slot_index); | 454 Node* LoadContextElement(Node* context, int slot_index); |
452 Node* LoadContextElement(Node* context, Node* slot_index); | 455 Node* LoadContextElement(Node* context, Node* slot_index); |
453 Node* StoreContextElement(Node* context, int slot_index, Node* value); | 456 Node* StoreContextElement(Node* context, int slot_index, Node* value); |
454 Node* StoreContextElement(Node* context, Node* slot_index, Node* value); | 457 Node* StoreContextElement(Node* context, Node* slot_index, Node* value); |
455 Node* StoreContextElementNoWriteBarrier(Node* context, int slot_index, | 458 Node* StoreContextElementNoWriteBarrier(Node* context, int slot_index, |
456 Node* value); | 459 Node* value); |
457 Node* LoadNativeContext(Node* context); | 460 Node* LoadNativeContext(Node* context); |
458 | 461 |
(...skipping 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1471 } | 1474 } |
1472 #else | 1475 #else |
1473 #define CSA_SLOW_ASSERT(csa, x) ((void)0) | 1476 #define CSA_SLOW_ASSERT(csa, x) ((void)0) |
1474 #endif | 1477 #endif |
1475 | 1478 |
1476 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 1479 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
1477 | 1480 |
1478 } // namespace internal | 1481 } // namespace internal |
1479 } // namespace v8 | 1482 } // namespace v8 |
1480 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 1483 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
OLD | NEW |