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

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: CR feedback 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 2045 matching lines...) Expand 10 before | Expand all | Expand 10 after
2056 2056
2057 2057
2058 bool Genesis::InstallExperimentalNatives() { 2058 bool Genesis::InstallExperimentalNatives() {
2059 for (int i = ExperimentalNatives::GetDebuggerCount(); 2059 for (int i = ExperimentalNatives::GetDebuggerCount();
2060 i < ExperimentalNatives::GetBuiltinsCount(); 2060 i < ExperimentalNatives::GetBuiltinsCount();
2061 i++) { 2061 i++) {
2062 INSTALL_EXPERIMENTAL_NATIVE(i, proxies, "proxy.js") 2062 INSTALL_EXPERIMENTAL_NATIVE(i, proxies, "proxy.js")
2063 INSTALL_EXPERIMENTAL_NATIVE(i, generators, "generator.js") 2063 INSTALL_EXPERIMENTAL_NATIVE(i, generators, "generator.js")
2064 INSTALL_EXPERIMENTAL_NATIVE(i, strings, "harmony-string.js") 2064 INSTALL_EXPERIMENTAL_NATIVE(i, strings, "harmony-string.js")
2065 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-array.js") 2065 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-array.js")
2066 INSTALL_EXPERIMENTAL_NATIVE(i, classes, "harmony-classes.js")
2066 } 2067 }
2067 2068
2068 InstallExperimentalNativeFunctions(); 2069 InstallExperimentalNativeFunctions();
2069 return true; 2070 return true;
2070 } 2071 }
2071 2072
2072 2073
2073 static void InstallBuiltinFunctionId(Handle<JSObject> holder, 2074 static void InstallBuiltinFunctionId(Handle<JSObject> holder,
2074 const char* function_name, 2075 const char* function_name,
2075 BuiltinFunctionId id) { 2076 BuiltinFunctionId id) {
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
2691 return from + sizeof(NestingCounterType); 2692 return from + sizeof(NestingCounterType);
2692 } 2693 }
2693 2694
2694 2695
2695 // Called when the top-level V8 mutex is destroyed. 2696 // Called when the top-level V8 mutex is destroyed.
2696 void Bootstrapper::FreeThreadResources() { 2697 void Bootstrapper::FreeThreadResources() {
2697 DCHECK(!IsActive()); 2698 DCHECK(!IsActive());
2698 } 2699 }
2699 2700
2700 } } // namespace v8::internal 2701 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/harmony-classes.js » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698