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

Side by Side Diff: src/compiler/simplified-lowering.cc

Issue 2070813002: Revert of [builtins] Introduce proper Float64Exp operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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/representation-change.cc ('k') | src/compiler/simplified-operator.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/simplified-lowering.h" 5 #include "src/compiler/simplified-lowering.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "src/address-map.h" 9 #include "src/address-map.h"
10 #include "src/base/bits.h" 10 #include "src/base/bits.h"
(...skipping 1424 matching lines...) Expand 10 before | Expand all | Expand 10 after
1435 if (lower()) NodeProperties::ChangeOp(node, Float64Op(node)); 1435 if (lower()) NodeProperties::ChangeOp(node, Float64Op(node));
1436 return; 1436 return;
1437 } 1437 }
1438 case IrOpcode::kNumberAtan2: { 1438 case IrOpcode::kNumberAtan2: {
1439 VisitBinop(node, UseInfo::TruncatingFloat64(), 1439 VisitBinop(node, UseInfo::TruncatingFloat64(),
1440 MachineRepresentation::kFloat64); 1440 MachineRepresentation::kFloat64);
1441 if (lower()) NodeProperties::ChangeOp(node, Float64Op(node)); 1441 if (lower()) NodeProperties::ChangeOp(node, Float64Op(node));
1442 return; 1442 return;
1443 } 1443 }
1444 case IrOpcode::kNumberAtan: 1444 case IrOpcode::kNumberAtan:
1445 case IrOpcode::kNumberExp:
1446 case IrOpcode::kNumberLog: 1445 case IrOpcode::kNumberLog:
1447 case IrOpcode::kNumberLog1p: 1446 case IrOpcode::kNumberLog1p:
1448 case IrOpcode::kNumberLog2: 1447 case IrOpcode::kNumberLog2:
1449 case IrOpcode::kNumberLog10: { 1448 case IrOpcode::kNumberLog10: {
1450 VisitUnop(node, UseInfo::TruncatingFloat64(), 1449 VisitUnop(node, UseInfo::TruncatingFloat64(),
1451 MachineRepresentation::kFloat64); 1450 MachineRepresentation::kFloat64);
1452 if (lower()) NodeProperties::ChangeOp(node, Float64Op(node)); 1451 if (lower()) NodeProperties::ChangeOp(node, Float64Op(node));
1453 return; 1452 return;
1454 } 1453 }
1455 case IrOpcode::kNumberRound: { 1454 case IrOpcode::kNumberRound: {
(...skipping 1469 matching lines...) Expand 10 before | Expand all | Expand 10 after
2925 isolate(), graph()->zone(), callable.descriptor(), 0, flags, 2924 isolate(), graph()->zone(), callable.descriptor(), 0, flags,
2926 Operator::kNoProperties); 2925 Operator::kNoProperties);
2927 to_number_operator_.set(common()->Call(desc)); 2926 to_number_operator_.set(common()->Call(desc));
2928 } 2927 }
2929 return to_number_operator_.get(); 2928 return to_number_operator_.get();
2930 } 2929 }
2931 2930
2932 } // namespace compiler 2931 } // namespace compiler
2933 } // namespace internal 2932 } // namespace internal
2934 } // namespace v8 2933 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/representation-change.cc ('k') | src/compiler/simplified-operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698