| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_COMPILER_WASM_COMPILER_H_ | 5 #ifndef V8_COMPILER_WASM_COMPILER_H_ |
| 6 #define V8_COMPILER_WASM_COMPILER_H_ | 6 #define V8_COMPILER_WASM_COMPILER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 // Clients of this interface shouldn't depend on lots of compiler internals. | 10 // Clients of this interface shouldn't depend on lots of compiler internals. |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 wasm::FunctionSig* sig_; | 268 wasm::FunctionSig* sig_; |
| 269 SetOncePointer<const Operator> allocate_heap_number_operator_; | 269 SetOncePointer<const Operator> allocate_heap_number_operator_; |
| 270 | 270 |
| 271 compiler::SourcePositionTable* source_position_table_ = nullptr; | 271 compiler::SourcePositionTable* source_position_table_ = nullptr; |
| 272 | 272 |
| 273 // Internal helper methods. | 273 // Internal helper methods. |
| 274 JSGraph* jsgraph() { return jsgraph_; } | 274 JSGraph* jsgraph() { return jsgraph_; } |
| 275 Graph* graph(); | 275 Graph* graph(); |
| 276 | 276 |
| 277 Node* String(const char* string); | 277 Node* String(const char* string); |
| 278 Node* MemSize(uint32_t offset); | 278 Node* MemSize(); |
| 279 Node* MemBuffer(uint32_t offset); | 279 Node* MemBuffer(uint32_t offset); |
| 280 void BoundsCheckMem(MachineType memtype, Node* index, uint32_t offset, | 280 void BoundsCheckMem(MachineType memtype, Node* index, uint32_t offset, |
| 281 wasm::WasmCodePosition position); | 281 wasm::WasmCodePosition position); |
| 282 | 282 |
| 283 Node* BuildChangeEndianness(Node* node, MachineType type, | 283 Node* BuildChangeEndianness(Node* node, MachineType type, |
| 284 wasm::ValueType wasmtype = wasm::kWasmStmt); | 284 wasm::ValueType wasmtype = wasm::kWasmStmt); |
| 285 | 285 |
| 286 Node* MaskShiftCount32(Node* node); | 286 Node* MaskShiftCount32(Node* node); |
| 287 Node* MaskShiftCount64(Node* node); | 287 Node* MaskShiftCount64(Node* node); |
| 288 | 288 |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 } | 388 } |
| 389 | 389 |
| 390 int AddParameterNodes(Node** args, int pos, int param_count, | 390 int AddParameterNodes(Node** args, int pos, int param_count, |
| 391 wasm::FunctionSig* sig); | 391 wasm::FunctionSig* sig); |
| 392 }; | 392 }; |
| 393 } // namespace compiler | 393 } // namespace compiler |
| 394 } // namespace internal | 394 } // namespace internal |
| 395 } // namespace v8 | 395 } // namespace v8 |
| 396 | 396 |
| 397 #endif // V8_COMPILER_WASM_COMPILER_H_ | 397 #endif // V8_COMPILER_WASM_COMPILER_H_ |
| OLD | NEW |