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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 if (buf != buffer) memcpy(buf, buffer, old_count * sizeof(Node*)); | 404 if (buf != buffer) memcpy(buf, buffer, old_count * sizeof(Node*)); |
405 return buf; | 405 return buf; |
406 } | 406 } |
407 | 407 |
408 int AddParameterNodes(Node** args, int pos, int param_count, | 408 int AddParameterNodes(Node** args, int pos, int param_count, |
409 wasm::FunctionSig* sig); | 409 wasm::FunctionSig* sig); |
410 | 410 |
411 void SetNeedsStackCheck() { needs_stack_check_ = true; } | 411 void SetNeedsStackCheck() { needs_stack_check_ = true; } |
412 }; | 412 }; |
413 | 413 |
| 414 V8_EXPORT_PRIVATE CallDescriptor* GetWasmCallDescriptor(Zone* zone, |
| 415 wasm::FunctionSig* sig); |
| 416 V8_EXPORT_PRIVATE CallDescriptor* GetI32WasmCallDescriptor( |
| 417 Zone* zone, CallDescriptor* descriptor); |
| 418 V8_EXPORT_PRIVATE CallDescriptor* GetI32WasmCallDescriptorForSimd( |
| 419 Zone* zone, CallDescriptor* descriptor); |
| 420 |
414 } // namespace compiler | 421 } // namespace compiler |
415 } // namespace internal | 422 } // namespace internal |
416 } // namespace v8 | 423 } // namespace v8 |
417 | 424 |
418 #endif // V8_COMPILER_WASM_COMPILER_H_ | 425 #endif // V8_COMPILER_WASM_COMPILER_H_ |
OLD | NEW |