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

Side by Side Diff: src/bootstrapper.cc

Issue 384963002: ES6 Unscopables (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Updated to reflect the July 2014 consensus 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 1634 matching lines...) Expand 10 before | Expand all | Expand 10 after
1645 } 1645 }
1646 1646
1647 1647
1648 void Genesis::InstallExperimentalNativeFunctions() { 1648 void Genesis::InstallExperimentalNativeFunctions() {
1649 if (FLAG_harmony_proxies) { 1649 if (FLAG_harmony_proxies) {
1650 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); 1650 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap);
1651 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); 1651 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap);
1652 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); 1652 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap);
1653 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate); 1653 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate);
1654 } 1654 }
1655
1656 if (FLAG_harmony_unscopables) {
1657 INSTALL_NATIVE(Symbol, "symbolUnscopables", unscopables_symbol);
1658 }
1655 } 1659 }
1656 1660
1657 #undef INSTALL_NATIVE 1661 #undef INSTALL_NATIVE
1658 1662
1659 1663
1660 Handle<JSFunction> Genesis::InstallInternalArray( 1664 Handle<JSFunction> Genesis::InstallInternalArray(
1661 Handle<JSBuiltinsObject> builtins, 1665 Handle<JSBuiltinsObject> builtins,
1662 const char* name, 1666 const char* name,
1663 ElementsKind elements_kind) { 1667 ElementsKind elements_kind) {
1664 // --- I n t e r n a l A r r a y --- 1668 // --- I n t e r n a l A r r a y ---
(...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after
2729 return from + sizeof(NestingCounterType); 2733 return from + sizeof(NestingCounterType);
2730 } 2734 }
2731 2735
2732 2736
2733 // Called when the top-level V8 mutex is destroyed. 2737 // Called when the top-level V8 mutex is destroyed.
2734 void Bootstrapper::FreeThreadResources() { 2738 void Bootstrapper::FreeThreadResources() {
2735 DCHECK(!IsActive()); 2739 DCHECK(!IsActive());
2736 } 2740 }
2737 2741
2738 } } // namespace v8::internal 2742 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698