Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: src/compiler/wasm-compiler.cc

Issue 1772843003: [wasm] Some cleanup in the Int64Lowering. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/int64-lowering.cc ('k') | test/unittests/compiler/int64-lowering-unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/compiler/int64-lowering.cc ('k') | test/unittests/compiler/int64-lowering-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698