Chromium Code Reviews

Unified Diff: src/compiler/representation-change.cc

Issue 2029413005: [builtins] Migrate Math.log to TurboFan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix typo. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/compiler/representation-change.cc
diff --git a/src/compiler/representation-change.cc b/src/compiler/representation-change.cc
index 0ebb74fb5cc16135254b613eeb22e8a600a5959a..da8919fe7199ed9a22489ba093f0372f5ff0d521 100644
--- a/src/compiler/representation-change.cc
+++ b/src/compiler/representation-change.cc
@@ -663,6 +663,8 @@ const Operator* RepresentationChanger::Float64OperatorFor(
return machine()->Float64LessThan();
case IrOpcode::kNumberLessThanOrEqual:
return machine()->Float64LessThanOrEqual();
+ case IrOpcode::kNumberLog:
+ return machine()->Float64Log();
default:
UNREACHABLE();
return nullptr;

Powered by Google App Engine