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

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

Issue 1472423002: Revert of [turbofan] Introduce proper JSCreateLiteralRegExp operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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') | no next file » | 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 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 case IrOpcode::kJSCreateArray: 514 case IrOpcode::kJSCreateArray:
515 // Type is OtherObject. 515 // Type is OtherObject.
516 CheckUpperIs(node, Type::OtherObject()); 516 CheckUpperIs(node, Type::OtherObject());
517 break; 517 break;
518 case IrOpcode::kJSCreateClosure: 518 case IrOpcode::kJSCreateClosure:
519 // Type is Function. 519 // Type is Function.
520 CheckUpperIs(node, Type::OtherObject()); 520 CheckUpperIs(node, Type::OtherObject());
521 break; 521 break;
522 case IrOpcode::kJSCreateLiteralArray: 522 case IrOpcode::kJSCreateLiteralArray:
523 case IrOpcode::kJSCreateLiteralObject: 523 case IrOpcode::kJSCreateLiteralObject:
524 case IrOpcode::kJSCreateLiteralRegExp:
525 // Type is OtherObject. 524 // Type is OtherObject.
526 CheckUpperIs(node, Type::OtherObject()); 525 CheckUpperIs(node, Type::OtherObject());
527 break; 526 break;
528 case IrOpcode::kJSLoadProperty: 527 case IrOpcode::kJSLoadProperty:
529 case IrOpcode::kJSLoadNamed: 528 case IrOpcode::kJSLoadNamed:
530 case IrOpcode::kJSLoadGlobal: 529 case IrOpcode::kJSLoadGlobal:
531 // Type can be anything. 530 // Type can be anything.
532 CheckUpperIs(node, Type::Any()); 531 CheckUpperIs(node, Type::Any());
533 break; 532 break;
534 case IrOpcode::kJSStoreProperty: 533 case IrOpcode::kJSStoreProperty:
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after
1250 replacement->op()->EffectOutputCount() > 0); 1249 replacement->op()->EffectOutputCount() > 0);
1251 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1250 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1252 replacement->opcode() == IrOpcode::kFrameState); 1251 replacement->opcode() == IrOpcode::kFrameState);
1253 } 1252 }
1254 1253
1255 #endif // DEBUG 1254 #endif // DEBUG
1256 1255
1257 } // namespace compiler 1256 } // namespace compiler
1258 } // namespace internal 1257 } // namespace internal
1259 } // namespace v8 1258 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698