Chromium Code Reviews| Index: src/codegen.h |
| diff --git a/src/codegen.h b/src/codegen.h |
| index c145c223e213f1e8a58502d875a8a7c601156126..23b9a74ed153d2cc9ec7281ac87b4df6ebfae480 100644 |
| --- a/src/codegen.h |
| +++ b/src/codegen.h |
| @@ -89,23 +89,22 @@ class CodeGenerator { |
| // Results of the library implementation of transcendental functions may differ |
| // from the one we use in our generated code. Therefore we use the same |
| // generated code both in runtime and compiled code. |
| -typedef double (*UnaryMathFunction)(double x); |
| typedef double (*UnaryMathFunctionWithIsolate)(double x, Isolate* isolate); |
| UnaryMathFunctionWithIsolate CreateExpFunction(Isolate* isolate); |
| -UnaryMathFunction CreateSqrtFunction(); |
| +UnaryMathFunctionWithIsolate CreateSqrtFunction(Isolate* isoalte); |
|
Jakob Kummerow
2015/11/25 15:23:39
nit: s/isoalte/isolate/
|
| double modulo(double x, double y); |
| // Custom implementation of math functions. |
| double fast_exp(double input, Isolate* isolate); |
| -double fast_sqrt(double input); |
| +double fast_sqrt(double input, Isolate* isolate); |
| #ifdef _WIN64 |
| void init_modulo_function(); |
| #endif |
| void lazily_initialize_fast_exp(Isolate* isolate); |
| -void init_fast_sqrt_function(); |
| +void lazily_initialize_fast_sqrt(Isolate* isolate); |
| class ElementsTransitionGenerator : public AllStatic { |