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

Side by Side Diff: src/bootstrapper.cc

Issue 546803003: Update ObjectToString to Harmony-draft algorithm (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Put ES6 behaviour behind flag, fixup tests, refactor kBuiltinToStringTags 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 2070 matching lines...) Expand 10 before | Expand all | Expand 10 after
2081 2081
2082 bool Genesis::InstallExperimentalNatives() { 2082 bool Genesis::InstallExperimentalNatives() {
2083 for (int i = ExperimentalNatives::GetDebuggerCount(); 2083 for (int i = ExperimentalNatives::GetDebuggerCount();
2084 i < ExperimentalNatives::GetBuiltinsCount(); 2084 i < ExperimentalNatives::GetBuiltinsCount();
2085 i++) { 2085 i++) {
2086 INSTALL_EXPERIMENTAL_NATIVE(i, proxies, "proxy.js") 2086 INSTALL_EXPERIMENTAL_NATIVE(i, proxies, "proxy.js")
2087 INSTALL_EXPERIMENTAL_NATIVE(i, strings, "harmony-string.js") 2087 INSTALL_EXPERIMENTAL_NATIVE(i, strings, "harmony-string.js")
2088 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-array.js") 2088 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-array.js")
2089 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-typedarray.js") 2089 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-typedarray.js")
2090 INSTALL_EXPERIMENTAL_NATIVE(i, classes, "harmony-classes.js") 2090 INSTALL_EXPERIMENTAL_NATIVE(i, classes, "harmony-classes.js")
2091 INSTALL_EXPERIMENTAL_NATIVE(i, tostring, "harmony-tostring.js")
2091 } 2092 }
2092 2093
2093 InstallExperimentalNativeFunctions(); 2094 InstallExperimentalNativeFunctions();
2094 return true; 2095 return true;
2095 } 2096 }
2096 2097
2097 2098
2098 static void InstallBuiltinFunctionId(Handle<JSObject> holder, 2099 static void InstallBuiltinFunctionId(Handle<JSObject> holder,
2099 const char* function_name, 2100 const char* function_name,
2100 BuiltinFunctionId id) { 2101 BuiltinFunctionId id) {
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
2714 return from + sizeof(NestingCounterType); 2715 return from + sizeof(NestingCounterType);
2715 } 2716 }
2716 2717
2717 2718
2718 // Called when the top-level V8 mutex is destroyed. 2719 // Called when the top-level V8 mutex is destroyed.
2719 void Bootstrapper::FreeThreadResources() { 2720 void Bootstrapper::FreeThreadResources() {
2720 DCHECK(!IsActive()); 2721 DCHECK(!IsActive());
2721 } 2722 }
2722 2723
2723 } } // namespace v8::internal 2724 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arraybuffer.js ('k') | src/collection.js » ('j') | src/flag-definitions.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698