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

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: Allow transplanting method to other typed arrays, more tests Created 6 years, 2 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 2092 matching lines...) Expand 10 before | Expand all | Expand 10 after
2103 } 2103 }
2104 2104
2105 2105
2106 bool Genesis::InstallExperimentalNatives() { 2106 bool Genesis::InstallExperimentalNatives() {
2107 for (int i = ExperimentalNatives::GetDebuggerCount(); 2107 for (int i = ExperimentalNatives::GetDebuggerCount();
2108 i < ExperimentalNatives::GetBuiltinsCount(); 2108 i < ExperimentalNatives::GetBuiltinsCount();
2109 i++) { 2109 i++) {
2110 INSTALL_EXPERIMENTAL_NATIVE(i, proxies, "proxy.js") 2110 INSTALL_EXPERIMENTAL_NATIVE(i, proxies, "proxy.js")
2111 INSTALL_EXPERIMENTAL_NATIVE(i, strings, "harmony-string.js") 2111 INSTALL_EXPERIMENTAL_NATIVE(i, strings, "harmony-string.js")
2112 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-array.js") 2112 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-array.js")
2113 INSTALL_EXPERIMENTAL_NATIVE(i, typedarrays, "harmony-typedarray.js")
2113 INSTALL_EXPERIMENTAL_NATIVE(i, classes, "harmony-classes.js") 2114 INSTALL_EXPERIMENTAL_NATIVE(i, classes, "harmony-classes.js")
2114 } 2115 }
2115 2116
2116 InstallExperimentalNativeFunctions(); 2117 InstallExperimentalNativeFunctions();
2117 return true; 2118 return true;
2118 } 2119 }
2119 2120
2120 2121
2121 static void InstallBuiltinFunctionId(Handle<JSObject> holder, 2122 static void InstallBuiltinFunctionId(Handle<JSObject> holder,
2122 const char* function_name, 2123 const char* function_name,
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
2733 return from + sizeof(NestingCounterType); 2734 return from + sizeof(NestingCounterType);
2734 } 2735 }
2735 2736
2736 2737
2737 // Called when the top-level V8 mutex is destroyed. 2738 // Called when the top-level V8 mutex is destroyed.
2738 void Bootstrapper::FreeThreadResources() { 2739 void Bootstrapper::FreeThreadResources() {
2739 DCHECK(!IsActive()); 2740 DCHECK(!IsActive());
2740 } 2741 }
2741 2742
2742 } } // namespace v8::internal 2743 } } // 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