| 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 #include "src/compiler/wasm-compiler.h" | 5 #include "src/compiler/wasm-compiler.h" |
| 6 | 6 |
| 7 #include "src/isolate-inl.h" | 7 #include "src/isolate-inl.h" |
| 8 | 8 |
| 9 #include "src/base/platform/platform.h" | 9 #include "src/base/platform/platform.h" |
| 10 | 10 |
| (...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 492 break; | 492 break; |
| 493 // todo(ahaas): I added a list of missing instructions here to make merging | 493 // todo(ahaas): I added a list of missing instructions here to make merging |
| 494 // easier when I do them one by one. | 494 // easier when I do them one by one. |
| 495 // kExprI64Add: | 495 // kExprI64Add: |
| 496 // kExprI64Sub: | 496 // kExprI64Sub: |
| 497 // kExprI64Mul: | 497 // kExprI64Mul: |
| 498 // kExprI64DivS: | 498 // kExprI64DivS: |
| 499 // kExprI64DivU: | 499 // kExprI64DivU: |
| 500 // kExprI64RemS: | 500 // kExprI64RemS: |
| 501 // kExprI64RemU: | 501 // kExprI64RemU: |
| 502 // kExprI64And: | |
| 503 // kExprI64Ior: | |
| 504 case wasm::kExprI64Ior: | 502 case wasm::kExprI64Ior: |
| 505 op = m->Word64Or(); | 503 op = m->Word64Or(); |
| 506 break; | 504 break; |
| 507 // kExprI64Xor: | 505 // kExprI64Xor: |
| 508 case wasm::kExprI64Xor: | 506 case wasm::kExprI64Xor: |
| 509 op = m->Word64Xor(); | 507 op = m->Word64Xor(); |
| 510 break; | 508 break; |
| 511 // kExprI64Shl: | 509 // kExprI64Shl: |
| 512 case wasm::kExprI64Shl: | 510 case wasm::kExprI64Shl: |
| 513 op = m->Word64Shl(); | 511 op = m->Word64Shl(); |
| (...skipping 1960 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2474 module_env->module->GetName(function.name_offset)); | 2472 module_env->module->GetName(function.name_offset)); |
| 2475 } | 2473 } |
| 2476 | 2474 |
| 2477 return code; | 2475 return code; |
| 2478 } | 2476 } |
| 2479 | 2477 |
| 2480 | 2478 |
| 2481 } // namespace compiler | 2479 } // namespace compiler |
| 2482 } // namespace internal | 2480 } // namespace internal |
| 2483 } // namespace v8 | 2481 } // namespace v8 |
| OLD | NEW |