| 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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 compiler::Node* LoadDoubleWithHoleCheck( | 324 compiler::Node* LoadDoubleWithHoleCheck( |
| 325 compiler::Node* base, compiler::Node* offset, Label* if_hole, | 325 compiler::Node* base, compiler::Node* offset, Label* if_hole, |
| 326 MachineType machine_type = MachineType::Float64()); | 326 MachineType machine_type = MachineType::Float64()); |
| 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* LoadContextElement(compiler::Node* context, |
| 335 compiler::Node* slot_index); |
| 334 compiler::Node* StoreContextElement(compiler::Node* context, int slot_index, | 336 compiler::Node* StoreContextElement(compiler::Node* context, int slot_index, |
| 335 compiler::Node* value); | 337 compiler::Node* value); |
| 338 compiler::Node* StoreContextElement(compiler::Node* context, |
| 339 compiler::Node* slot_index, |
| 340 compiler::Node* value); |
| 336 compiler::Node* LoadNativeContext(compiler::Node* context); | 341 compiler::Node* LoadNativeContext(compiler::Node* context); |
| 337 | 342 |
| 338 compiler::Node* LoadJSArrayElementsMap(ElementsKind kind, | 343 compiler::Node* LoadJSArrayElementsMap(ElementsKind kind, |
| 339 compiler::Node* native_context); | 344 compiler::Node* native_context); |
| 340 | 345 |
| 341 // Store the floating point value of a HeapNumber. | 346 // Store the floating point value of a HeapNumber. |
| 342 compiler::Node* StoreHeapNumberValue(compiler::Node* object, | 347 compiler::Node* StoreHeapNumberValue(compiler::Node* object, |
| 343 compiler::Node* value); | 348 compiler::Node* value); |
| 344 // Store a field to an object on the heap. | 349 // Store a field to an object on the heap. |
| 345 compiler::Node* StoreObjectField( | 350 compiler::Node* StoreObjectField( |
| (...skipping 919 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1265 } | 1270 } |
| 1266 #else | 1271 #else |
| 1267 #define CSA_SLOW_ASSERT(x) | 1272 #define CSA_SLOW_ASSERT(x) |
| 1268 #endif | 1273 #endif |
| 1269 | 1274 |
| 1270 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 1275 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
| 1271 | 1276 |
| 1272 } // namespace internal | 1277 } // namespace internal |
| 1273 } // namespace v8 | 1278 } // namespace v8 |
| 1274 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 1279 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
| OLD | NEW |