Chromium Code Reviews

Unified Diff: src/bootstrapper.cc

Issue 15562008: Recording array buffer views. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: CR feedback Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « src/api.cc ('k') | src/heap.h » ('j') | 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 fb89452bdba66b97a4c8d457656917a24014e9b8..13ee629c659082c9eaecc327ae221d55fc75f177 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -1322,8 +1322,7 @@ void Genesis::InitializeExperimentalGlobal() {
Handle<JSFunction> array_buffer_fun =
InstallFunction(
global, "ArrayBuffer", JS_ARRAY_BUFFER_TYPE,
- JSArrayBuffer::kSize +
- v8::ArrayBuffer::kInternalFieldCount * kPointerSize,
+ JSArrayBuffer::kSizeWithInternalFields,
isolate()->initial_object_prototype(),
Builtins::kIllegal, true, true);
native_context()->set_array_buffer_fun(*array_buffer_fun);
« no previous file with comments | « src/api.cc ('k') | src/heap.h » ('j') | no next file with comments »

Powered by Google App Engine