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

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

Issue 1491223002: [turbofan] Desugar JSUnaryNot(x) to Select(x, false, true). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix typo in arm64. 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/full-codegen/arm/full-codegen-arm.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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 // JavaScript operators 449 // JavaScript operators
450 // -------------------- 450 // --------------------
451 case IrOpcode::kJSEqual: 451 case IrOpcode::kJSEqual:
452 case IrOpcode::kJSNotEqual: 452 case IrOpcode::kJSNotEqual:
453 case IrOpcode::kJSStrictEqual: 453 case IrOpcode::kJSStrictEqual:
454 case IrOpcode::kJSStrictNotEqual: 454 case IrOpcode::kJSStrictNotEqual:
455 case IrOpcode::kJSLessThan: 455 case IrOpcode::kJSLessThan:
456 case IrOpcode::kJSGreaterThan: 456 case IrOpcode::kJSGreaterThan:
457 case IrOpcode::kJSLessThanOrEqual: 457 case IrOpcode::kJSLessThanOrEqual:
458 case IrOpcode::kJSGreaterThanOrEqual: 458 case IrOpcode::kJSGreaterThanOrEqual:
459 case IrOpcode::kJSUnaryNot:
460 // Type is Boolean. 459 // Type is Boolean.
461 CheckUpperIs(node, Type::Boolean()); 460 CheckUpperIs(node, Type::Boolean());
462 break; 461 break;
463 462
464 case IrOpcode::kJSBitwiseOr: 463 case IrOpcode::kJSBitwiseOr:
465 case IrOpcode::kJSBitwiseXor: 464 case IrOpcode::kJSBitwiseXor:
466 case IrOpcode::kJSBitwiseAnd: 465 case IrOpcode::kJSBitwiseAnd:
467 case IrOpcode::kJSShiftLeft: 466 case IrOpcode::kJSShiftLeft:
468 case IrOpcode::kJSShiftRight: 467 case IrOpcode::kJSShiftRight:
469 case IrOpcode::kJSShiftRightLogical: 468 case IrOpcode::kJSShiftRightLogical:
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after
1253 replacement->op()->EffectOutputCount() > 0); 1252 replacement->op()->EffectOutputCount() > 0);
1254 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1253 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1255 replacement->opcode() == IrOpcode::kFrameState); 1254 replacement->opcode() == IrOpcode::kFrameState);
1256 } 1255 }
1257 1256
1258 #endif // DEBUG 1257 #endif // DEBUG
1259 1258
1260 } // namespace compiler 1259 } // namespace compiler
1261 } // namespace internal 1260 } // namespace internal
1262 } // namespace v8 1261 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | src/full-codegen/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698