| 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 // Clients of this interface shouldn't depend on lots of compiler internals. | 8 // Clients of this interface shouldn't depend on lots of compiler internals. |
| 9 // Do not include anything from src/compiler here! | 9 // Do not include anything from src/compiler here! |
| 10 #include "src/wasm/wasm-opcodes.h" | 10 #include "src/wasm/wasm-opcodes.h" |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 Node* BuildI64SConvertF32(Node* input, wasm::WasmCodePosition position); | 260 Node* BuildI64SConvertF32(Node* input, wasm::WasmCodePosition position); |
| 261 Node* BuildI64UConvertF32(Node* input, wasm::WasmCodePosition position); | 261 Node* BuildI64UConvertF32(Node* input, wasm::WasmCodePosition position); |
| 262 Node* BuildI64SConvertF64(Node* input, wasm::WasmCodePosition position); | 262 Node* BuildI64SConvertF64(Node* input, wasm::WasmCodePosition position); |
| 263 Node* BuildI64UConvertF64(Node* input, wasm::WasmCodePosition position); | 263 Node* BuildI64UConvertF64(Node* input, wasm::WasmCodePosition position); |
| 264 | 264 |
| 265 Node* BuildI32DivS(Node* left, Node* right, wasm::WasmCodePosition position); | 265 Node* BuildI32DivS(Node* left, Node* right, wasm::WasmCodePosition position); |
| 266 Node* BuildI32RemS(Node* left, Node* right, wasm::WasmCodePosition position); | 266 Node* BuildI32RemS(Node* left, Node* right, wasm::WasmCodePosition position); |
| 267 Node* BuildI32DivU(Node* left, Node* right, wasm::WasmCodePosition position); | 267 Node* BuildI32DivU(Node* left, Node* right, wasm::WasmCodePosition position); |
| 268 Node* BuildI32RemU(Node* left, Node* right, wasm::WasmCodePosition position); | 268 Node* BuildI32RemU(Node* left, Node* right, wasm::WasmCodePosition position); |
| 269 | 269 |
| 270 Node* BuildI32AsmjsDivS(Node* left, Node* right); |
| 271 Node* BuildI32AsmjsRemS(Node* left, Node* right); |
| 272 Node* BuildI32AsmjsDivU(Node* left, Node* right); |
| 273 Node* BuildI32AsmjsRemU(Node* left, Node* right); |
| 274 |
| 270 Node* BuildI64DivS(Node* left, Node* right, wasm::WasmCodePosition position); | 275 Node* BuildI64DivS(Node* left, Node* right, wasm::WasmCodePosition position); |
| 271 Node* BuildI64RemS(Node* left, Node* right, wasm::WasmCodePosition position); | 276 Node* BuildI64RemS(Node* left, Node* right, wasm::WasmCodePosition position); |
| 272 Node* BuildI64DivU(Node* left, Node* right, wasm::WasmCodePosition position); | 277 Node* BuildI64DivU(Node* left, Node* right, wasm::WasmCodePosition position); |
| 273 Node* BuildI64RemU(Node* left, Node* right, wasm::WasmCodePosition position); | 278 Node* BuildI64RemU(Node* left, Node* right, wasm::WasmCodePosition position); |
| 274 Node* BuildDiv64Call(Node* left, Node* right, ExternalReference ref, | 279 Node* BuildDiv64Call(Node* left, Node* right, ExternalReference ref, |
| 275 MachineType result_type, int trap_zero, | 280 MachineType result_type, int trap_zero, |
| 276 wasm::WasmCodePosition position); | 281 wasm::WasmCodePosition position); |
| 277 | 282 |
| 278 Node* BuildJavaScriptToNumber(Node* node, Node* context, Node* effect, | 283 Node* BuildJavaScriptToNumber(Node* node, Node* context, Node* effect, |
| 279 Node* control); | 284 Node* control); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 295 Node** buf = Buffer(new_count); | 300 Node** buf = Buffer(new_count); |
| 296 if (buf != buffer) memcpy(buf, buffer, old_count * sizeof(Node*)); | 301 if (buf != buffer) memcpy(buf, buffer, old_count * sizeof(Node*)); |
| 297 return buf; | 302 return buf; |
| 298 } | 303 } |
| 299 }; | 304 }; |
| 300 } // namespace compiler | 305 } // namespace compiler |
| 301 } // namespace internal | 306 } // namespace internal |
| 302 } // namespace v8 | 307 } // namespace v8 |
| 303 | 308 |
| 304 #endif // V8_COMPILER_WASM_COMPILER_H_ | 309 #endif // V8_COMPILER_WASM_COMPILER_H_ |
| OLD | NEW |