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

Side by Side Diff: src/compiler/instruction.cc

Issue 1305393003: [turbofan] Deferred blocks splintering. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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/instruction.h ('k') | src/compiler/live-range-separator.h » ('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 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/compiler/common-operator.h" 5 #include "src/compiler/common-operator.h"
6 #include "src/compiler/graph.h" 6 #include "src/compiler/graph.h"
7 #include "src/compiler/instruction.h" 7 #include "src/compiler/instruction.h"
8 #include "src/compiler/schedule.h" 8 #include "src/compiler/schedule.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 ao_number_(rpo_number), 410 ao_number_(rpo_number),
411 rpo_number_(rpo_number), 411 rpo_number_(rpo_number),
412 loop_header_(loop_header), 412 loop_header_(loop_header),
413 loop_end_(loop_end), 413 loop_end_(loop_end),
414 code_start_(-1), 414 code_start_(-1),
415 code_end_(-1), 415 code_end_(-1),
416 deferred_(deferred), 416 deferred_(deferred),
417 handler_(handler), 417 handler_(handler),
418 needs_frame_(false), 418 needs_frame_(false),
419 must_construct_frame_(false), 419 must_construct_frame_(false),
420 must_deconstruct_frame_(false) {} 420 must_deconstruct_frame_(false),
421 last_deferred_(RpoNumber::Invalid()) {}
421 422
422 423
423 size_t InstructionBlock::PredecessorIndexOf(RpoNumber rpo_number) const { 424 size_t InstructionBlock::PredecessorIndexOf(RpoNumber rpo_number) const {
424 size_t j = 0; 425 size_t j = 0;
425 for (InstructionBlock::Predecessors::const_iterator i = predecessors_.begin(); 426 for (InstructionBlock::Predecessors::const_iterator i = predecessors_.begin();
426 i != predecessors_.end(); ++i, ++j) { 427 i != predecessors_.end(); ++i, ++j) {
427 if (*i == rpo_number) break; 428 if (*i == rpo_number) break;
428 } 429 }
429 return j; 430 return j;
430 } 431 }
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 os << " B" << succ.ToInt(); 809 os << " B" << succ.ToInt();
809 } 810 }
810 os << "\n"; 811 os << "\n";
811 } 812 }
812 return os; 813 return os;
813 } 814 }
814 815
815 } // namespace compiler 816 } // namespace compiler
816 } // namespace internal 817 } // namespace internal
817 } // namespace v8 818 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/instruction.h ('k') | src/compiler/live-range-separator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698