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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 Node* BuildI32RemU(Node* left, Node* right, wasm::WasmCodePosition position); | 319 Node* BuildI32RemU(Node* left, Node* right, wasm::WasmCodePosition position); |
320 | 320 |
321 Node* BuildI64DivS(Node* left, Node* right, wasm::WasmCodePosition position); | 321 Node* BuildI64DivS(Node* left, Node* right, wasm::WasmCodePosition position); |
322 Node* BuildI64RemS(Node* left, Node* right, wasm::WasmCodePosition position); | 322 Node* BuildI64RemS(Node* left, Node* right, wasm::WasmCodePosition position); |
323 Node* BuildI64DivU(Node* left, Node* right, wasm::WasmCodePosition position); | 323 Node* BuildI64DivU(Node* left, Node* right, wasm::WasmCodePosition position); |
324 Node* BuildI64RemU(Node* left, Node* right, wasm::WasmCodePosition position); | 324 Node* BuildI64RemU(Node* left, Node* right, wasm::WasmCodePosition position); |
325 Node* BuildDiv64Call(Node* left, Node* right, ExternalReference ref, | 325 Node* BuildDiv64Call(Node* left, Node* right, ExternalReference ref, |
326 MachineType result_type, int trap_zero, | 326 MachineType result_type, int trap_zero, |
327 wasm::WasmCodePosition position); | 327 wasm::WasmCodePosition position); |
328 | 328 |
329 Node* BuildJavaScriptToNumber(Node* node, Node* context, Node* effect, | 329 Node* BuildJavaScriptToNumber(Node* node, Node* context); |
330 Node* control); | |
331 | 330 |
332 Node* BuildChangeInt32ToTagged(Node* value); | 331 Node* BuildChangeInt32ToTagged(Node* value); |
333 Node* BuildChangeFloat64ToTagged(Node* value); | 332 Node* BuildChangeFloat64ToTagged(Node* value); |
334 Node* BuildChangeTaggedToFloat64(Node* value); | 333 Node* BuildChangeTaggedToFloat64(Node* value); |
335 | 334 |
336 Node* BuildChangeInt32ToSmi(Node* value); | 335 Node* BuildChangeInt32ToSmi(Node* value); |
337 Node* BuildChangeSmiToInt32(Node* value); | 336 Node* BuildChangeSmiToInt32(Node* value); |
338 Node* BuildChangeUint32ToSmi(Node* value); | 337 Node* BuildChangeUint32ToSmi(Node* value); |
339 Node* BuildChangeSmiToFloat64(Node* value); | 338 Node* BuildChangeSmiToFloat64(Node* value); |
340 Node* BuildTestNotSmi(Node* value); | 339 Node* BuildTestNotSmi(Node* value); |
(...skipping 22 matching lines...) Expand all Loading... |
363 } | 362 } |
364 | 363 |
365 int AddParameterNodes(Node** args, int pos, int param_count, | 364 int AddParameterNodes(Node** args, int pos, int param_count, |
366 wasm::FunctionSig* sig); | 365 wasm::FunctionSig* sig); |
367 }; | 366 }; |
368 } // namespace compiler | 367 } // namespace compiler |
369 } // namespace internal | 368 } // namespace internal |
370 } // namespace v8 | 369 } // namespace v8 |
371 | 370 |
372 #endif // V8_COMPILER_WASM_COMPILER_H_ | 371 #endif // V8_COMPILER_WASM_COMPILER_H_ |
OLD | NEW |