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

Side by Side Diff: src/compiler/code-stub-assembler.cc

Issue 1847073002: Undoing unintended change to code-stub-assembler (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | no next file » | 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/code-stub-assembler.h" 5 #include "src/compiler/code-stub-assembler.h"
6 6
7 #include <ostream> 7 #include <ostream>
8 8
9 #include "src/code-factory.h" 9 #include "src/code-factory.h"
10 #include "src/compiler/graph.h" 10 #include "src/compiler/graph.h"
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 Variable var_result(this, MachineRepresentation::kTagged); 727 Variable var_result(this, MachineRepresentation::kTagged);
728 Bind(&if_valueisint32); 728 Bind(&if_valueisint32);
729 { 729 {
730 if (raw_assembler_->machine()->Is64()) { 730 if (raw_assembler_->machine()->Is64()) {
731 Node* result = SmiTag(ChangeInt32ToInt64(value32)); 731 Node* result = SmiTag(ChangeInt32ToInt64(value32));
732 var_result.Bind(result); 732 var_result.Bind(result);
733 Goto(&if_join); 733 Goto(&if_join);
734 } else { 734 } else {
735 Node* pair = Int32AddWithOverflow(value32, value32); 735 Node* pair = Int32AddWithOverflow(value32, value32);
736 Node* overflow = Projection(1, pair); 736 Node* overflow = Projection(1, pair);
737 Label if_overflow(this, Label::kDeferred), if_notoverflow(this), 737 Label if_overflow(this, Label::kDeferred), if_notoverflow(this);
738 if_join(this);
739 Branch(overflow, &if_overflow, &if_notoverflow); 738 Branch(overflow, &if_overflow, &if_notoverflow);
740 Bind(&if_overflow); 739 Bind(&if_overflow);
741 Goto(&if_valueisheapnumber); 740 Goto(&if_valueisheapnumber);
742 Bind(&if_notoverflow); 741 Bind(&if_notoverflow);
743 { 742 {
744 Node* result = Projection(0, pair); 743 Node* result = Projection(0, pair);
745 var_result.Bind(result); 744 var_result.Bind(result);
746 Goto(&if_join); 745 Goto(&if_join);
747 } 746 }
748 } 747 }
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
1309 } 1308 }
1310 } 1309 }
1311 } 1310 }
1312 1311
1313 bound_ = true; 1312 bound_ = true;
1314 } 1313 }
1315 1314
1316 } // namespace compiler 1315 } // namespace compiler
1317 } // namespace internal 1316 } // namespace internal
1318 } // namespace v8 1317 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698