Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Unified Diff: src/bootstrapper.cc

Issue 13945026: Fix GCMole after r14476 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/bootstrapper.cc
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index 1edf5ceb9d319b27c694afebee819fe436fdeecf..16567b5b381d493603628a453cc6ec115add0b70 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -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);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698