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

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

Issue 1995543003: [turbofan] Add DebugBreak machine operator and support (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review feedback Created 4 years, 7 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/typer.cc ('k') | src/compiler/x64/code-generator-x64.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 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/verifier.h" 5 #include "src/compiler/verifier.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <deque> 8 #include <deque>
9 #include <queue> 9 #include <queue>
10 #include <sstream> 10 #include <sstream>
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 634
635 case IrOpcode::kJSLoadMessage: 635 case IrOpcode::kJSLoadMessage:
636 case IrOpcode::kJSStoreMessage: 636 case IrOpcode::kJSStoreMessage:
637 break; 637 break;
638 638
639 case IrOpcode::kJSStackCheck: 639 case IrOpcode::kJSStackCheck:
640 // Type is empty. 640 // Type is empty.
641 CheckNotTyped(node); 641 CheckNotTyped(node);
642 break; 642 break;
643 643
644 case IrOpcode::kDebugBreak:
645 CheckNotTyped(node);
646 break;
647
644 // Simplified operators 648 // Simplified operators
645 // ------------------------------- 649 // -------------------------------
646 case IrOpcode::kBooleanNot: 650 case IrOpcode::kBooleanNot:
647 // Boolean -> Boolean 651 // Boolean -> Boolean
648 CheckValueInputIs(node, 0, Type::Boolean()); 652 CheckValueInputIs(node, 0, Type::Boolean());
649 CheckUpperIs(node, Type::Boolean()); 653 CheckUpperIs(node, Type::Boolean());
650 break; 654 break;
651 case IrOpcode::kBooleanToNumber: 655 case IrOpcode::kBooleanToNumber:
652 // Boolean -> Number 656 // Boolean -> Number
653 CheckValueInputIs(node, 0, Type::Boolean()); 657 CheckValueInputIs(node, 0, Type::Boolean());
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after
1365 replacement->op()->EffectOutputCount() > 0); 1369 replacement->op()->EffectOutputCount() > 0);
1366 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1370 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1367 replacement->opcode() == IrOpcode::kFrameState); 1371 replacement->opcode() == IrOpcode::kFrameState);
1368 } 1372 }
1369 1373
1370 #endif // DEBUG 1374 #endif // DEBUG
1371 1375
1372 } // namespace compiler 1376 } // namespace compiler
1373 } // namespace internal 1377 } // namespace internal
1374 } // namespace v8 1378 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | src/compiler/x64/code-generator-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698