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

Side by Side Diff: src/compiler/register-allocator.cc

Issue 2312523002: [turbofan] Readjust has_slot_use after splintering (Closed)
Patch Set: Created 4 years, 3 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/live-range-separator.cc ('k') | 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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/base/adapters.h" 5 #include "src/base/adapters.h"
6 #include "src/compiler/linkage.h" 6 #include "src/compiler/linkage.h"
7 #include "src/compiler/register-allocator.h" 7 #include "src/compiler/register-allocator.h"
8 #include "src/string-stream.h" 8 #include "src/string-stream.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after
1034 1034
1035 first->next_ = second; 1035 first->next_ = second;
1036 first = temp; 1036 first = temp;
1037 continue; 1037 continue;
1038 } 1038 }
1039 DCHECK(first->End() <= second->Start()); 1039 DCHECK(first->End() <= second->Start());
1040 } 1040 }
1041 1041
1042 TopLevel()->UpdateParentForAllChildren(TopLevel()); 1042 TopLevel()->UpdateParentForAllChildren(TopLevel());
1043 TopLevel()->UpdateSpillRangePostMerge(other); 1043 TopLevel()->UpdateSpillRangePostMerge(other);
1044 TopLevel()->set_has_slot_use(TopLevel()->has_slot_use() ||
1045 other->has_slot_use());
1044 1046
1045 #if DEBUG 1047 #if DEBUG
1046 Verify(); 1048 Verify();
1047 #endif 1049 #endif
1048 } 1050 }
1049 1051
1050 1052
1051 void TopLevelLiveRange::VerifyChildrenInOrder() const { 1053 void TopLevelLiveRange::VerifyChildrenInOrder() const {
1052 LifetimePosition last_end = End(); 1054 LifetimePosition last_end = End();
1053 for (const LiveRange* child = this->next(); child != nullptr; 1055 for (const LiveRange* child = this->next(); child != nullptr;
(...skipping 2567 matching lines...) Expand 10 before | Expand all | Expand 10 after
3621 } 3623 }
3622 } 3624 }
3623 } 3625 }
3624 } 3626 }
3625 } 3627 }
3626 3628
3627 3629
3628 } // namespace compiler 3630 } // namespace compiler
3629 } // namespace internal 3631 } // namespace internal
3630 } // namespace v8 3632 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/live-range-separator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698