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

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

Issue 974313002: [turbofan] Support for %_DoubleHi, %_DoubleLo and %_ConstructDouble. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed Svens comment. Created 5 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/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 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 case IrOpcode::kTruncateInt64ToInt32: 798 case IrOpcode::kTruncateInt64ToInt32:
799 case IrOpcode::kTruncateFloat64ToFloat32: 799 case IrOpcode::kTruncateFloat64ToFloat32:
800 case IrOpcode::kTruncateFloat64ToInt32: 800 case IrOpcode::kTruncateFloat64ToInt32:
801 case IrOpcode::kChangeInt32ToInt64: 801 case IrOpcode::kChangeInt32ToInt64:
802 case IrOpcode::kChangeUint32ToUint64: 802 case IrOpcode::kChangeUint32ToUint64:
803 case IrOpcode::kChangeInt32ToFloat64: 803 case IrOpcode::kChangeInt32ToFloat64:
804 case IrOpcode::kChangeUint32ToFloat64: 804 case IrOpcode::kChangeUint32ToFloat64:
805 case IrOpcode::kChangeFloat32ToFloat64: 805 case IrOpcode::kChangeFloat32ToFloat64:
806 case IrOpcode::kChangeFloat64ToInt32: 806 case IrOpcode::kChangeFloat64ToInt32:
807 case IrOpcode::kChangeFloat64ToUint32: 807 case IrOpcode::kChangeFloat64ToUint32:
808 case IrOpcode::kFloat64ExtractLowWord32:
809 case IrOpcode::kFloat64ExtractHighWord32:
810 case IrOpcode::kFloat64InsertLowWord32:
811 case IrOpcode::kFloat64InsertHighWord32:
808 case IrOpcode::kLoadStackPointer: 812 case IrOpcode::kLoadStackPointer:
809 case IrOpcode::kCheckedLoad: 813 case IrOpcode::kCheckedLoad:
810 case IrOpcode::kCheckedStore: 814 case IrOpcode::kCheckedStore:
811 // TODO(rossberg): Check. 815 // TODO(rossberg): Check.
812 break; 816 break;
813 } 817 }
814 } 818 } // NOLINT(readability/fn_size)
815 819
816 820
817 void Verifier::Run(Graph* graph, Typing typing) { 821 void Verifier::Run(Graph* graph, Typing typing) {
818 CHECK_NOT_NULL(graph->start()); 822 CHECK_NOT_NULL(graph->start());
819 CHECK_NOT_NULL(graph->end()); 823 CHECK_NOT_NULL(graph->end());
820 Zone zone; 824 Zone zone;
821 Visitor visitor(&zone, typing); 825 Visitor visitor(&zone, typing);
822 for (Node* node : AllNodes(&zone, graph).live) visitor.Check(node); 826 for (Node* node : AllNodes(&zone, graph).live) visitor.Check(node);
823 } 827 }
824 828
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
1053 // Check inputs for all nodes in the block. 1057 // Check inputs for all nodes in the block.
1054 for (size_t i = 0; i < block->NodeCount(); i++) { 1058 for (size_t i = 0; i < block->NodeCount(); i++) {
1055 Node* node = block->NodeAt(i); 1059 Node* node = block->NodeAt(i);
1056 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1); 1060 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1);
1057 } 1061 }
1058 } 1062 }
1059 } 1063 }
1060 } 1064 }
1061 } 1065 }
1062 } // namespace v8::internal::compiler 1066 } // namespace v8::internal::compiler
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