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

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

Issue 2056503003: [turbofan] Add comments to CodeAssembler (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove extraneous change Created 4 years, 6 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 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 650
651 case IrOpcode::kJSStackCheck: 651 case IrOpcode::kJSStackCheck:
652 // Type is empty. 652 // Type is empty.
653 CheckNotTyped(node); 653 CheckNotTyped(node);
654 break; 654 break;
655 655
656 case IrOpcode::kDebugBreak: 656 case IrOpcode::kDebugBreak:
657 CheckNotTyped(node); 657 CheckNotTyped(node);
658 break; 658 break;
659 659
660 case IrOpcode::kComment:
661 CheckNotTyped(node);
662 break;
663
660 // Simplified operators 664 // Simplified operators
661 // ------------------------------- 665 // -------------------------------
662 case IrOpcode::kBooleanNot: 666 case IrOpcode::kBooleanNot:
663 // Boolean -> Boolean 667 // Boolean -> Boolean
664 CheckValueInputIs(node, 0, Type::Boolean()); 668 CheckValueInputIs(node, 0, Type::Boolean());
665 CheckUpperIs(node, Type::Boolean()); 669 CheckUpperIs(node, Type::Boolean());
666 break; 670 break;
667 case IrOpcode::kBooleanToNumber: 671 case IrOpcode::kBooleanToNumber:
668 // Boolean -> Number 672 // Boolean -> Number
669 CheckValueInputIs(node, 0, Type::Boolean()); 673 CheckValueInputIs(node, 0, Type::Boolean());
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
1407 replacement->op()->EffectOutputCount() > 0); 1411 replacement->op()->EffectOutputCount() > 0);
1408 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1412 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1409 replacement->opcode() == IrOpcode::kFrameState); 1413 replacement->opcode() == IrOpcode::kFrameState);
1410 } 1414 }
1411 1415
1412 #endif // DEBUG 1416 #endif // DEBUG
1413 1417
1414 } // namespace compiler 1418 } // namespace compiler
1415 } // namespace internal 1419 } // namespace internal
1416 } // namespace v8 1420 } // 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