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

Side by Side Diff: src/bootstrapper.cc

Issue 475423003: Implement Function.prototype.toMethod. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Missing file added Created 6 years, 4 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 2049 matching lines...) Expand 10 before | Expand all | Expand 10 after
2060 2060
2061 2061
2062 bool Genesis::InstallExperimentalNatives() { 2062 bool Genesis::InstallExperimentalNatives() {
2063 for (int i = ExperimentalNatives::GetDebuggerCount(); 2063 for (int i = ExperimentalNatives::GetDebuggerCount();
2064 i < ExperimentalNatives::GetBuiltinsCount(); 2064 i < ExperimentalNatives::GetBuiltinsCount();
2065 i++) { 2065 i++) {
2066 INSTALL_EXPERIMENTAL_NATIVE(i, proxies, "proxy.js") 2066 INSTALL_EXPERIMENTAL_NATIVE(i, proxies, "proxy.js")
2067 INSTALL_EXPERIMENTAL_NATIVE(i, generators, "generator.js") 2067 INSTALL_EXPERIMENTAL_NATIVE(i, generators, "generator.js")
2068 INSTALL_EXPERIMENTAL_NATIVE(i, strings, "harmony-string.js") 2068 INSTALL_EXPERIMENTAL_NATIVE(i, strings, "harmony-string.js")
2069 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-array.js") 2069 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-array.js")
2070 INSTALL_EXPERIMENTAL_NATIVE(i, classes, "harmony-classes.js")
2070 } 2071 }
2071 2072
2072 InstallExperimentalNativeFunctions(); 2073 InstallExperimentalNativeFunctions();
2073 return true; 2074 return true;
2074 } 2075 }
2075 2076
2076 2077
2077 static void InstallBuiltinFunctionId(Handle<JSObject> holder, 2078 static void InstallBuiltinFunctionId(Handle<JSObject> holder,
2078 const char* function_name, 2079 const char* function_name,
2079 BuiltinFunctionId id) { 2080 BuiltinFunctionId id) {
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
2695 return from + sizeof(NestingCounterType); 2696 return from + sizeof(NestingCounterType);
2696 } 2697 }
2697 2698
2698 2699
2699 // Called when the top-level V8 mutex is destroyed. 2700 // Called when the top-level V8 mutex is destroyed.
2700 void Bootstrapper::FreeThreadResources() { 2701 void Bootstrapper::FreeThreadResources() {
2701 DCHECK(!IsActive()); 2702 DCHECK(!IsActive());
2702 } 2703 }
2703 2704
2704 } } // namespace v8::internal 2705 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/flag-definitions.h » ('j') | src/harmony-classes.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698