Commit 7c23b744 authored by danno@chromium.org's avatar danno@chromium.org

Fix broken build on Windows due to r11198.

This also fixes a style issue in lazy-instance.h.

Review URL: https://chromiumcodereview.appspot.com/9960006
Patch from Philippe Liard <pliard@chromium.org>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11201 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent da5b44cb
......@@ -191,7 +191,7 @@ struct LazyInstanceImpl {
&once_,
// Casts to void* are needed here to avoid breaking strict aliasing
// rules.
reinterpret_cast<void (*)(void*)>(&InitInstance),
reinterpret_cast<void(*)(void*)>(&InitInstance), // NOLINT
reinterpret_cast<void*>(&storage_));
}
......
......@@ -214,7 +214,9 @@ UNARY_MATH_FUNCTION(sqrt, CreateSqrtFunction())
void MathSetup() {
#ifdef _WIN64
init_modulo_function();
#endif
init_fast_sin_function();
init_fast_cos_function();
init_fast_tan_function();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment