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

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

Issue 1015423002: [turbofan] Remember types for deoptimization during simplified lowering. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address review comments 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') | test/cctest/compiler/test-codegen-deopt.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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 if (typing == TYPED) { 420 if (typing == TYPED) {
421 CHECK(bounds(ValueInput(node)).lower->Is(bounds(node).lower)); 421 CHECK(bounds(ValueInput(node)).lower->Is(bounds(node).lower));
422 CHECK(bounds(ValueInput(node)).upper->Is(bounds(node).upper)); 422 CHECK(bounds(ValueInput(node)).upper->Is(bounds(node).upper));
423 } 423 }
424 break; 424 break;
425 } 425 }
426 case IrOpcode::kFrameState: 426 case IrOpcode::kFrameState:
427 // TODO(jarin): what are the constraints on these? 427 // TODO(jarin): what are the constraints on these?
428 break; 428 break;
429 case IrOpcode::kStateValues: 429 case IrOpcode::kStateValues:
430 case IrOpcode::kTypedStateValues:
430 // TODO(jarin): what are the constraints on these? 431 // TODO(jarin): what are the constraints on these?
431 break; 432 break;
432 case IrOpcode::kCall: 433 case IrOpcode::kCall:
433 // TODO(rossberg): what are the constraints on these? 434 // TODO(rossberg): what are the constraints on these?
434 break; 435 break;
435 436
436 // JavaScript operators 437 // JavaScript operators
437 // -------------------- 438 // --------------------
438 case IrOpcode::kJSEqual: 439 case IrOpcode::kJSEqual:
439 case IrOpcode::kJSNotEqual: 440 case IrOpcode::kJSNotEqual:
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
1063 // Check inputs for all nodes in the block. 1064 // Check inputs for all nodes in the block.
1064 for (size_t i = 0; i < block->NodeCount(); i++) { 1065 for (size_t i = 0; i < block->NodeCount(); i++) {
1065 Node* node = block->NodeAt(i); 1066 Node* node = block->NodeAt(i);
1066 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1); 1067 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1);
1067 } 1068 }
1068 } 1069 }
1069 } 1070 }
1070 } 1071 }
1071 } 1072 }
1072 } // namespace v8::internal::compiler 1073 } // namespace v8::internal::compiler
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | test/cctest/compiler/test-codegen-deopt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698