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

Unified Diff: src/x87/codegen-x87.cc

Issue 1477683002: X87: Make fast_exp take an Isolate* paramter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/x87/codegen-x87.cc
diff --git a/src/x87/codegen-x87.cc b/src/x87/codegen-x87.cc
index 46abc1cfb0b4e9d411b25646d5a1d317363b1ed3..f4751d821d74af032a996aa748d1176c5457cdd9 100644
--- a/src/x87/codegen-x87.cc
+++ b/src/x87/codegen-x87.cc
@@ -32,11 +32,10 @@ void StubRuntimeCallHelper::AfterCall(MacroAssembler* masm) const {
#define __ masm.
+double x87_std_exp(double x, Isolate* isolate) { return std::exp(x); }
-
-UnaryMathFunction CreateExpFunction() {
- // No SSE2 support
- return nullptr;
+UnaryMathFunctionWithIsolate CreateExpFunction(Isolate* isolate) {
+ return x87_std_exp;
jochen (gone - plz use gerrit) 2015/11/25 09:01:37 the init_fast_exp_function() in codegen.cc already
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698