Fix GCMole after r14476
authordslomov@chromium.org <dslomov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 29 Apr 2013 15:05:06 +0000 (15:05 +0000)
committerdslomov@chromium.org <dslomov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 29 Apr 2013 15:05:06 +0000 (15:05 +0000)
R=mstarzinger@chromium.org
BUG=

Review URL: https://codereview.chromium.org/13945026

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14482 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/bootstrapper.cc

index 1edf5ce..16567b5 100644 (file)
@@ -1328,22 +1328,22 @@ void Genesis::InitializeExperimentalGlobal() {
     }
     {
       // -- T y p e d A r r a y s
-      native_context()->set_int8_array_fun(
-          *InstallTypedArray("Int8Array"));
-      native_context()->set_uint8_array_fun(
-          *InstallTypedArray("Uint8Array"));
-      native_context()->set_int16_array_fun(
-          *InstallTypedArray("Int16Array"));
-      native_context()->set_uint16_array_fun(
-          *InstallTypedArray("Uint16Array"));
-      native_context()->set_int32_array_fun(
-          *InstallTypedArray("Int32Array"));
-      native_context()->set_uint32_array_fun(
-          *InstallTypedArray("Uint32Array"));
-      native_context()->set_float_array_fun(
-          *InstallTypedArray("Float32Array"));
-      native_context()->set_double_array_fun(
-          *InstallTypedArray("Float64Array"));
+      Handle<JSFunction> int8_fun = InstallTypedArray("Int8Array");
+      native_context()->set_int8_array_fun(*int8_fun);
+      Handle<JSFunction> uint8_fun = InstallTypedArray("Uint8Array");
+      native_context()->set_uint8_array_fun(*uint8_fun);
+      Handle<JSFunction> int16_fun = InstallTypedArray("Int16Array");
+      native_context()->set_int16_array_fun(*int16_fun);
+      Handle<JSFunction> uint16_fun = InstallTypedArray("Uint16Array");
+      native_context()->set_uint16_array_fun(*uint16_fun);
+      Handle<JSFunction> int32_fun = InstallTypedArray("Int32Array");
+      native_context()->set_int32_array_fun(*int32_fun);
+      Handle<JSFunction> uint32_fun = InstallTypedArray("Uint32Array");
+      native_context()->set_uint32_array_fun(*uint32_fun);
+      Handle<JSFunction> float_fun = InstallTypedArray("Float32Array");
+      native_context()->set_float_array_fun(*float_fun);
+      Handle<JSFunction> double_fun = InstallTypedArray("Float64Array");
+      native_context()->set_double_array_fun(*double_fun);
     }
   }