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

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

Issue 2096403002: [turbofan] Introduce simplified operator NumberAbs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: This time fix the compile error for realz 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
« no previous file with comments | « src/compiler/typer.cc ('k') | src/js/math.js » ('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 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 // Unsigned32 -> Unsigned32 744 // Unsigned32 -> Unsigned32
745 CheckValueInputIs(node, 0, Type::Unsigned32()); 745 CheckValueInputIs(node, 0, Type::Unsigned32());
746 CheckUpperIs(node, Type::Unsigned32()); 746 CheckUpperIs(node, Type::Unsigned32());
747 break; 747 break;
748 case IrOpcode::kNumberAtan2: 748 case IrOpcode::kNumberAtan2:
749 // (Number, Number) -> Number 749 // (Number, Number) -> Number
750 CheckValueInputIs(node, 0, Type::Number()); 750 CheckValueInputIs(node, 0, Type::Number());
751 CheckValueInputIs(node, 1, Type::Number()); 751 CheckValueInputIs(node, 1, Type::Number());
752 CheckUpperIs(node, Type::Number()); 752 CheckUpperIs(node, Type::Number());
753 break; 753 break;
754 case IrOpcode::kNumberAbs:
754 case IrOpcode::kNumberCeil: 755 case IrOpcode::kNumberCeil:
755 case IrOpcode::kNumberFloor: 756 case IrOpcode::kNumberFloor:
756 case IrOpcode::kNumberFround: 757 case IrOpcode::kNumberFround:
757 case IrOpcode::kNumberAtan: 758 case IrOpcode::kNumberAtan:
758 case IrOpcode::kNumberAtanh: 759 case IrOpcode::kNumberAtanh:
759 case IrOpcode::kNumberCos: 760 case IrOpcode::kNumberCos:
760 case IrOpcode::kNumberExp: 761 case IrOpcode::kNumberExp:
761 case IrOpcode::kNumberExpm1: 762 case IrOpcode::kNumberExpm1:
762 case IrOpcode::kNumberLog: 763 case IrOpcode::kNumberLog:
763 case IrOpcode::kNumberLog1p: 764 case IrOpcode::kNumberLog1p:
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
1487 replacement->op()->EffectOutputCount() > 0); 1488 replacement->op()->EffectOutputCount() > 0);
1488 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1489 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1489 replacement->opcode() == IrOpcode::kFrameState); 1490 replacement->opcode() == IrOpcode::kFrameState);
1490 } 1491 }
1491 1492
1492 #endif // DEBUG 1493 #endif // DEBUG
1493 1494
1494 } // namespace compiler 1495 } // namespace compiler
1495 } // namespace internal 1496 } // namespace internal
1496 } // namespace v8 1497 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | src/js/math.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698