| 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 void Int64LoweringForTesting(); | 201 void Int64LoweringForTesting(); |
| 202 | 202 |
| 203 void SimdScalarLoweringForTesting(); | 203 void SimdScalarLoweringForTesting(); |
| 204 | 204 |
| 205 void SetSourcePosition(Node* node, wasm::WasmCodePosition position); | 205 void SetSourcePosition(Node* node, wasm::WasmCodePosition position); |
| 206 | 206 |
| 207 Node* CreateS128Value(int32_t value); | 207 Node* CreateS128Value(int32_t value); |
| 208 | 208 |
| 209 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs); | 209 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs); |
| 210 Node* SimdExtractLane(wasm::WasmOpcode opcode, uint8_t lane, Node* input); | 210 Node* SimdExtractLane(wasm::WasmOpcode opcode, uint8_t lane, Node* input); |
| 211 Node* SimdReplaceLane(wasm::WasmOpcode opcode, uint8_t lane, Node* input, |
| 212 Node* replacement); |
| 211 | 213 |
| 212 private: | 214 private: |
| 213 static const int kDefaultBufferSize = 16; | 215 static const int kDefaultBufferSize = 16; |
| 214 friend class WasmTrapHelper; | 216 friend class WasmTrapHelper; |
| 215 | 217 |
| 216 Zone* zone_; | 218 Zone* zone_; |
| 217 JSGraph* jsgraph_; | 219 JSGraph* jsgraph_; |
| 218 wasm::ModuleEnv* module_; | 220 wasm::ModuleEnv* module_; |
| 219 Node* mem_buffer_; | 221 Node* mem_buffer_; |
| 220 Node* mem_size_; | 222 Node* mem_size_; |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 } | 353 } |
| 352 | 354 |
| 353 int AddParameterNodes(Node** args, int pos, int param_count, | 355 int AddParameterNodes(Node** args, int pos, int param_count, |
| 354 wasm::FunctionSig* sig); | 356 wasm::FunctionSig* sig); |
| 355 }; | 357 }; |
| 356 } // namespace compiler | 358 } // namespace compiler |
| 357 } // namespace internal | 359 } // namespace internal |
| 358 } // namespace v8 | 360 } // namespace v8 |
| 359 | 361 |
| 360 #endif // V8_COMPILER_WASM_COMPILER_H_ | 362 #endif // V8_COMPILER_WASM_COMPILER_H_ |
| OLD | NEW |