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/instruction.cc

Issue 1721103003: [turbofan] Introduce DeoptimizeIf And DeoptimizeUnless common operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add comments 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/ia32/instruction-selector-ia32.cc ('k') | src/compiler/instruction-codes.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 #include "src/compiler/state-values-utils.h" 9 #include "src/compiler/state-values-utils.h"
10 10
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 return os; 386 return os;
387 } 387 }
388 388
389 389
390 std::ostream& operator<<(std::ostream& os, const FlagsMode& fm) { 390 std::ostream& operator<<(std::ostream& os, const FlagsMode& fm) {
391 switch (fm) { 391 switch (fm) {
392 case kFlags_none: 392 case kFlags_none:
393 return os; 393 return os;
394 case kFlags_branch: 394 case kFlags_branch:
395 return os << "branch"; 395 return os << "branch";
396 case kFlags_deoptimize:
397 return os << "deoptimize";
396 case kFlags_set: 398 case kFlags_set:
397 return os << "set"; 399 return os << "set";
398 } 400 }
399 UNREACHABLE(); 401 UNREACHABLE();
400 return os; 402 return os;
401 } 403 }
402 404
403 405
404 std::ostream& operator<<(std::ostream& os, const FlagsCondition& fc) { 406 std::ostream& operator<<(std::ostream& os, const FlagsCondition& fc) {
405 switch (fc) { 407 switch (fc) {
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
980 } 982 }
981 for (int i = 0; i < code.InstructionBlockCount(); i++) { 983 for (int i = 0; i < code.InstructionBlockCount(); i++) {
982 printable.sequence_->PrintBlock(printable.register_configuration_, i); 984 printable.sequence_->PrintBlock(printable.register_configuration_, i);
983 } 985 }
984 return os; 986 return os;
985 } 987 }
986 988
987 } // namespace compiler 989 } // namespace compiler
988 } // namespace internal 990 } // namespace internal
989 } // namespace v8 991 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/compiler/instruction-codes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698