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

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

Issue 1424943008: [turbofan] Desugar lookup slot optimization in graph builder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comment. Created 5 years, 1 month 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/unittests/compiler/js-typed-lowering-unittest.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 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 case IrOpcode::kJSInstanceOf: 537 case IrOpcode::kJSInstanceOf:
538 // Type is Boolean. 538 // Type is Boolean.
539 CheckUpperIs(node, Type::Boolean()); 539 CheckUpperIs(node, Type::Boolean());
540 break; 540 break;
541 case IrOpcode::kJSTypeOf: 541 case IrOpcode::kJSTypeOf:
542 // Type is String. 542 // Type is String.
543 CheckUpperIs(node, Type::String()); 543 CheckUpperIs(node, Type::String());
544 break; 544 break;
545 545
546 case IrOpcode::kJSLoadContext: 546 case IrOpcode::kJSLoadContext:
547 case IrOpcode::kJSLoadDynamicGlobal: 547 case IrOpcode::kJSLoadDynamic:
548 case IrOpcode::kJSLoadDynamicContext:
549 // Type can be anything. 548 // Type can be anything.
550 CheckUpperIs(node, Type::Any()); 549 CheckUpperIs(node, Type::Any());
551 break; 550 break;
552 case IrOpcode::kJSStoreContext: 551 case IrOpcode::kJSStoreContext:
553 // Type is empty. 552 // Type is empty.
554 CheckNotTyped(node); 553 CheckNotTyped(node);
555 break; 554 break;
556 case IrOpcode::kJSCreateFunctionContext: 555 case IrOpcode::kJSCreateFunctionContext:
557 case IrOpcode::kJSCreateCatchContext: 556 case IrOpcode::kJSCreateCatchContext:
558 case IrOpcode::kJSCreateWithContext: 557 case IrOpcode::kJSCreateWithContext:
(...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after
1223 replacement->op()->EffectOutputCount() > 0); 1222 replacement->op()->EffectOutputCount() > 0);
1224 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1223 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1225 replacement->opcode() == IrOpcode::kFrameState); 1224 replacement->opcode() == IrOpcode::kFrameState);
1226 } 1225 }
1227 1226
1228 #endif // DEBUG 1227 #endif // DEBUG
1229 1228
1230 } // namespace compiler 1229 } // namespace compiler
1231 } // namespace internal 1230 } // namespace internal
1232 } // namespace v8 1231 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | test/unittests/compiler/js-typed-lowering-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698