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

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: Even 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
« no previous file with comments | « BUILD.gn ('k') | src/harmony-typedarray.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2094 matching lines...) Expand 10 before | Expand all | Expand 10 after
2105 } 2105 }
2106 2106
2107 2107
2108 bool Genesis::InstallExperimentalNatives() { 2108 bool Genesis::InstallExperimentalNatives() {
2109 for (int i = ExperimentalNatives::GetDebuggerCount(); 2109 for (int i = ExperimentalNatives::GetDebuggerCount();
2110 i < ExperimentalNatives::GetBuiltinsCount(); 2110 i < ExperimentalNatives::GetBuiltinsCount();
2111 i++) { 2111 i++) {
2112 INSTALL_EXPERIMENTAL_NATIVE(i, proxies, "proxy.js") 2112 INSTALL_EXPERIMENTAL_NATIVE(i, proxies, "proxy.js")
2113 INSTALL_EXPERIMENTAL_NATIVE(i, strings, "harmony-string.js") 2113 INSTALL_EXPERIMENTAL_NATIVE(i, strings, "harmony-string.js")
2114 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-array.js") 2114 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-array.js")
2115 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-typedarray.js")
2115 INSTALL_EXPERIMENTAL_NATIVE(i, classes, "harmony-classes.js") 2116 INSTALL_EXPERIMENTAL_NATIVE(i, classes, "harmony-classes.js")
2116 } 2117 }
2117 2118
2118 InstallExperimentalNativeFunctions(); 2119 InstallExperimentalNativeFunctions();
2119 return true; 2120 return true;
2120 } 2121 }
2121 2122
2122 2123
2123 static void InstallBuiltinFunctionId(Handle<JSObject> holder, 2124 static void InstallBuiltinFunctionId(Handle<JSObject> holder,
2124 const char* function_name, 2125 const char* function_name,
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
2735 return from + sizeof(NestingCounterType); 2736 return from + sizeof(NestingCounterType);
2736 } 2737 }
2737 2738
2738 2739
2739 // Called when the top-level V8 mutex is destroyed. 2740 // Called when the top-level V8 mutex is destroyed.
2740 void Bootstrapper::FreeThreadResources() { 2741 void Bootstrapper::FreeThreadResources() {
2741 DCHECK(!IsActive()); 2742 DCHECK(!IsActive());
2742 } 2743 }
2743 2744
2744 } } // namespace v8::internal 2745 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/harmony-typedarray.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698