| 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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 | 289 |
| 290 // Internal helper methods. | 290 // Internal helper methods. |
| 291 JSGraph* jsgraph() { return jsgraph_; } | 291 JSGraph* jsgraph() { return jsgraph_; } |
| 292 Graph* graph(); | 292 Graph* graph(); |
| 293 | 293 |
| 294 Node* String(const char* string); | 294 Node* String(const char* string); |
| 295 Node* MemSize(); | 295 Node* MemSize(); |
| 296 Node* MemBuffer(uint32_t offset); | 296 Node* MemBuffer(uint32_t offset); |
| 297 void BoundsCheckMem(MachineType memtype, Node* index, uint32_t offset, | 297 void BoundsCheckMem(MachineType memtype, Node* index, uint32_t offset, |
| 298 wasm::WasmCodePosition position); | 298 wasm::WasmCodePosition position); |
| 299 | 299 const Operator* GetSafeStoreOperator(int offset, wasm::ValueType type); |
| 300 Node* BuildChangeEndianness(Node* node, MachineType type, | 300 Node* BuildChangeEndianness(Node* node, MachineType type, |
| 301 wasm::ValueType wasmtype = wasm::kWasmStmt); | 301 wasm::ValueType wasmtype = wasm::kWasmStmt); |
| 302 | 302 |
| 303 Node* MaskShiftCount32(Node* node); | 303 Node* MaskShiftCount32(Node* node); |
| 304 Node* MaskShiftCount64(Node* node); | 304 Node* MaskShiftCount64(Node* node); |
| 305 | 305 |
| 306 Node* BuildCCall(MachineSignature* sig, Node** args); | 306 Node* BuildCCall(MachineSignature* sig, Node** args); |
| 307 Node* BuildWasmCall(wasm::FunctionSig* sig, Node** args, Node*** rets, | 307 Node* BuildWasmCall(wasm::FunctionSig* sig, Node** args, Node*** rets, |
| 308 wasm::WasmCodePosition position); | 308 wasm::WasmCodePosition position); |
| 309 | 309 |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 } | 405 } |
| 406 | 406 |
| 407 int AddParameterNodes(Node** args, int pos, int param_count, | 407 int AddParameterNodes(Node** args, int pos, int param_count, |
| 408 wasm::FunctionSig* sig); | 408 wasm::FunctionSig* sig); |
| 409 }; | 409 }; |
| 410 } // namespace compiler | 410 } // namespace compiler |
| 411 } // namespace internal | 411 } // namespace internal |
| 412 } // namespace v8 | 412 } // namespace v8 |
| 413 | 413 |
| 414 #endif // V8_COMPILER_WASM_COMPILER_H_ | 414 #endif // V8_COMPILER_WASM_COMPILER_H_ |
| OLD | NEW |