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

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

Issue 2146293003: [builtins] implement Array.prototype.includes in TurboFan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix IsComparisonOpcode Created 4 years, 5 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
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 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 case IrOpcode::kTailCall: 454 case IrOpcode::kTailCall:
455 // TODO(bmeurer): what are the constraints on these? 455 // TODO(bmeurer): what are the constraints on these?
456 break; 456 break;
457 457
458 // JavaScript operators 458 // JavaScript operators
459 // -------------------- 459 // --------------------
460 case IrOpcode::kJSEqual: 460 case IrOpcode::kJSEqual:
461 case IrOpcode::kJSNotEqual: 461 case IrOpcode::kJSNotEqual:
462 case IrOpcode::kJSStrictEqual: 462 case IrOpcode::kJSStrictEqual:
463 case IrOpcode::kJSStrictNotEqual: 463 case IrOpcode::kJSStrictNotEqual:
464 case IrOpcode::kJSSameValueZero:
464 case IrOpcode::kJSLessThan: 465 case IrOpcode::kJSLessThan:
465 case IrOpcode::kJSGreaterThan: 466 case IrOpcode::kJSGreaterThan:
466 case IrOpcode::kJSLessThanOrEqual: 467 case IrOpcode::kJSLessThanOrEqual:
467 case IrOpcode::kJSGreaterThanOrEqual: 468 case IrOpcode::kJSGreaterThanOrEqual:
468 // Type is Boolean. 469 // Type is Boolean.
469 CheckUpperIs(node, Type::Boolean()); 470 CheckUpperIs(node, Type::Boolean());
470 break; 471 break;
471 472
472 case IrOpcode::kJSBitwiseOr: 473 case IrOpcode::kJSBitwiseOr:
473 case IrOpcode::kJSBitwiseXor: 474 case IrOpcode::kJSBitwiseXor:
(...skipping 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after
1509 replacement->op()->EffectOutputCount() > 0); 1510 replacement->op()->EffectOutputCount() > 0);
1510 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1511 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1511 replacement->opcode() == IrOpcode::kFrameState); 1512 replacement->opcode() == IrOpcode::kFrameState);
1512 } 1513 }
1513 1514
1514 #endif // DEBUG 1515 #endif // DEBUG
1515 1516
1516 } // namespace compiler 1517 } // namespace compiler
1517 } // namespace internal 1518 } // namespace internal
1518 } // namespace v8 1519 } // namespace v8
OLDNEW
« src/builtins/builtins.cc ('K') | « src/compiler/typer.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698