Index: src/runtime/runtime-maths.cc |
diff --git a/src/runtime/runtime-maths.cc b/src/runtime/runtime-maths.cc |
index ec8b74a105d099b978d4e33537a870d4d34030e9..6855675724e5020a62aa04e5d17f7adb668b34e7 100644 |
--- a/src/runtime/runtime-maths.cc |
+++ b/src/runtime/runtime-maths.cc |
@@ -65,7 +65,7 @@ RUNTIME_FUNCTION(Runtime_RemPiO2) { |
DCHECK(args.length() == 1); |
CONVERT_DOUBLE_ARG_CHECKED(x, 0); |
Factory* factory = isolate->factory(); |
- double y[2]; |
+ double y[2] = {0.0, 0.0}; |
int n = fdlibm::rempio2(x, y); |
Handle<FixedArray> array = factory->NewFixedArray(3); |
Handle<HeapNumber> y0 = factory->NewHeapNumber(y[0]); |