projects
/
platform
/
upstream
/
v8.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e216ab1
)
Initialize double values before calling rempio2.
author
yangguo@chromium.org
<yangguo@chromium.org>
Wed, 15 Oct 2014 09:24:55 +0000
(09:24 +0000)
committer
yangguo@chromium.org
<yangguo@chromium.org>
Wed, 15 Oct 2014 09:24:55 +0000
(09:24 +0000)
R=ishell@chromium.org
BUG=chromium:421981
LOG=N
Review URL: https://codereview.chromium.org/
645243003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24621
ce2b1a6d
-e550-0410-aec6-
3dcde31c8c00
src/runtime/runtime-maths.cc
patch
|
blob
|
history
diff --git
a/src/runtime/runtime-maths.cc
b/src/runtime/runtime-maths.cc
index
ec8b74a
..
6855675
100644
(file)
--- 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]);