| 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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 // Store a field to an object on the heap. | 340 // Store a field to an object on the heap. |
| 341 Node* StoreObjectField(Node* object, int offset, Node* value); | 341 Node* StoreObjectField(Node* object, int offset, Node* value); |
| 342 Node* StoreObjectField(Node* object, Node* offset, Node* value); | 342 Node* StoreObjectField(Node* object, Node* offset, Node* value); |
| 343 Node* StoreObjectFieldNoWriteBarrier( | 343 Node* StoreObjectFieldNoWriteBarrier( |
| 344 Node* object, int offset, Node* value, | 344 Node* object, int offset, Node* value, |
| 345 MachineRepresentation rep = MachineRepresentation::kTagged); | 345 MachineRepresentation rep = MachineRepresentation::kTagged); |
| 346 Node* StoreObjectFieldNoWriteBarrier( | 346 Node* StoreObjectFieldNoWriteBarrier( |
| 347 Node* object, Node* offset, Node* value, | 347 Node* object, Node* offset, Node* value, |
| 348 MachineRepresentation rep = MachineRepresentation::kTagged); | 348 MachineRepresentation rep = MachineRepresentation::kTagged); |
| 349 // Store the Map of an HeapObject. | 349 // Store the Map of an HeapObject. |
| 350 Node* StoreMap(Node* object, Node* map); |
| 351 Node* StoreMapNoWriteBarrier(Node* object, |
| 352 Heap::RootListIndex map_root_index); |
| 350 Node* StoreMapNoWriteBarrier(Node* object, Node* map); | 353 Node* StoreMapNoWriteBarrier(Node* object, Node* map); |
| 351 Node* StoreObjectFieldRoot(Node* object, int offset, | 354 Node* StoreObjectFieldRoot(Node* object, int offset, |
| 352 Heap::RootListIndex root); | 355 Heap::RootListIndex root); |
| 353 // Store an array element to a FixedArray. | 356 // Store an array element to a FixedArray. |
| 354 Node* StoreFixedArrayElement( | 357 Node* StoreFixedArrayElement( |
| 355 Node* object, int index, Node* value, | 358 Node* object, int index, Node* value, |
| 356 WriteBarrierMode barrier_mode = UPDATE_WRITE_BARRIER) { | 359 WriteBarrierMode barrier_mode = UPDATE_WRITE_BARRIER) { |
| 357 return StoreFixedArrayElement(object, IntPtrConstant(index), value, | 360 return StoreFixedArrayElement(object, IntPtrConstant(index), value, |
| 358 barrier_mode, 0, INTPTR_PARAMETERS); | 361 barrier_mode, 0, INTPTR_PARAMETERS); |
| 359 } | 362 } |
| (...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1106 } | 1109 } |
| 1107 #else | 1110 #else |
| 1108 #define CSA_SLOW_ASSERT(csa, x) ((void)0) | 1111 #define CSA_SLOW_ASSERT(csa, x) ((void)0) |
| 1109 #endif | 1112 #endif |
| 1110 | 1113 |
| 1111 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 1114 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
| 1112 | 1115 |
| 1113 } // namespace internal | 1116 } // namespace internal |
| 1114 } // namespace v8 | 1117 } // namespace v8 |
| 1115 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 1118 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
| OLD | NEW |