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

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

Issue 1480003002: [runtime] Replace global object link with native context link in all contexts. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add patch from Orion for interpreter cementation test. Disable obsolete/invalid tests. Created 5 years 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/contexts.h » ('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 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 // Type is Boolean. 543 // Type is Boolean.
544 CheckUpperIs(node, Type::Boolean()); 544 CheckUpperIs(node, Type::Boolean());
545 break; 545 break;
546 case IrOpcode::kJSTypeOf: 546 case IrOpcode::kJSTypeOf:
547 // Type is String. 547 // Type is String.
548 CheckUpperIs(node, Type::String()); 548 CheckUpperIs(node, Type::String());
549 break; 549 break;
550 550
551 case IrOpcode::kJSLoadContext: 551 case IrOpcode::kJSLoadContext:
552 case IrOpcode::kJSLoadDynamic: 552 case IrOpcode::kJSLoadDynamic:
553 case IrOpcode::kJSLoadNativeContext:
554 // Type can be anything. 553 // Type can be anything.
555 CheckUpperIs(node, Type::Any()); 554 CheckUpperIs(node, Type::Any());
556 break; 555 break;
557 case IrOpcode::kJSStoreContext: 556 case IrOpcode::kJSStoreContext:
558 // Type is empty. 557 // Type is empty.
559 CheckNotTyped(node); 558 CheckNotTyped(node);
560 break; 559 break;
561 case IrOpcode::kJSCreateFunctionContext: 560 case IrOpcode::kJSCreateFunctionContext:
562 case IrOpcode::kJSCreateCatchContext: 561 case IrOpcode::kJSCreateCatchContext:
563 case IrOpcode::kJSCreateWithContext: 562 case IrOpcode::kJSCreateWithContext:
(...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after
1254 replacement->op()->EffectOutputCount() > 0); 1253 replacement->op()->EffectOutputCount() > 0);
1255 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1254 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1256 replacement->opcode() == IrOpcode::kFrameState); 1255 replacement->opcode() == IrOpcode::kFrameState);
1257 } 1256 }
1258 1257
1259 #endif // DEBUG 1258 #endif // DEBUG
1260 1259
1261 } // namespace compiler 1260 } // namespace compiler
1262 } // namespace internal 1261 } // namespace internal
1263 } // namespace v8 1262 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | src/contexts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698