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

Side by Side Diff: src/bootstrapper.cc

Issue 583723002: Implement .forEach() on typed arrays (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove unneeded check for holes Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/bootstrapper.h" 5 #include "src/bootstrapper.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/code-stubs.h" 8 #include "src/code-stubs.h"
9 #include "src/extensions/externalize-string-extension.h" 9 #include "src/extensions/externalize-string-extension.h"
10 #include "src/extensions/free-buffer-extension.h" 10 #include "src/extensions/free-buffer-extension.h"
(...skipping 2073 matching lines...) Expand 10 before | Expand all | Expand 10 after
2084 } 2084 }
2085 2085
2086 2086
2087 bool Genesis::InstallExperimentalNatives() { 2087 bool Genesis::InstallExperimentalNatives() {
2088 for (int i = ExperimentalNatives::GetDebuggerCount(); 2088 for (int i = ExperimentalNatives::GetDebuggerCount();
2089 i < ExperimentalNatives::GetBuiltinsCount(); 2089 i < ExperimentalNatives::GetBuiltinsCount();
2090 i++) { 2090 i++) {
2091 INSTALL_EXPERIMENTAL_NATIVE(i, proxies, "proxy.js") 2091 INSTALL_EXPERIMENTAL_NATIVE(i, proxies, "proxy.js")
2092 INSTALL_EXPERIMENTAL_NATIVE(i, strings, "harmony-string.js") 2092 INSTALL_EXPERIMENTAL_NATIVE(i, strings, "harmony-string.js")
2093 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-array.js") 2093 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-array.js")
2094 INSTALL_EXPERIMENTAL_NATIVE(i, typedarrays, "harmony-typedarray.js")
2094 INSTALL_EXPERIMENTAL_NATIVE(i, classes, "harmony-classes.js") 2095 INSTALL_EXPERIMENTAL_NATIVE(i, classes, "harmony-classes.js")
2095 } 2096 }
2096 2097
2097 InstallExperimentalNativeFunctions(); 2098 InstallExperimentalNativeFunctions();
2098 return true; 2099 return true;
2099 } 2100 }
2100 2101
2101 2102
2102 static void InstallBuiltinFunctionId(Handle<JSObject> holder, 2103 static void InstallBuiltinFunctionId(Handle<JSObject> holder,
2103 const char* function_name, 2104 const char* function_name,
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
2713 return from + sizeof(NestingCounterType); 2714 return from + sizeof(NestingCounterType);
2714 } 2715 }
2715 2716
2716 2717
2717 // Called when the top-level V8 mutex is destroyed. 2718 // Called when the top-level V8 mutex is destroyed.
2718 void Bootstrapper::FreeThreadResources() { 2719 void Bootstrapper::FreeThreadResources() {
2719 DCHECK(!IsActive()); 2720 DCHECK(!IsActive());
2720 } 2721 }
2721 2722
2722 } } // namespace v8::internal 2723 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/flag-definitions.h » ('j') | src/harmony-typedarray.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698