Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index a3b37421bb043b53ad12903175b92eba90da1b11..5cafb151d76792aebf584d831ef9e8ed6d76d858 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -2651,19 +2651,17 @@ Genesis::Genesis(Isolate* isolate, |
NONE).Assert(); |
// Initialize trigonometric lookup tables and constants. |
- const int constants_size = |
- ARRAY_SIZE(fdlibm::TrigonometricConstants::constants); |
+ const int constants_size = ARRAY_SIZE(fdlibm::MathConstants::constants); |
const int table_num_bytes = constants_size * kDoubleSize; |
v8::Local<v8::ArrayBuffer> trig_buffer = v8::ArrayBuffer::New( |
reinterpret_cast<v8::Isolate*>(isolate), |
- const_cast<double*>(fdlibm::TrigonometricConstants::constants), |
- table_num_bytes); |
+ const_cast<double*>(fdlibm::MathConstants::constants), table_num_bytes); |
v8::Local<v8::Float64Array> trig_table = |
v8::Float64Array::New(trig_buffer, 0, constants_size); |
Runtime::DefineObjectProperty( |
builtins, |
- factory()->InternalizeOneByteString(STATIC_ASCII_VECTOR("kTrig")), |
+ factory()->InternalizeOneByteString(STATIC_ASCII_VECTOR("kMath")), |
Utils::OpenHandle(*trig_table), NONE).Assert(); |
} |