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

Side by Side Diff: src/bootstrapper.cc

Issue 384963002: ES6 Unscopables (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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 | « no previous file | src/contexts.h » ('j') | src/contexts.cc » ('J')
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 1586 matching lines...) Expand 10 before | Expand all | Expand 10 after
1597 if (FLAG_harmony_proxies) { 1597 if (FLAG_harmony_proxies) {
1598 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); 1598 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap);
1599 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); 1599 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap);
1600 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); 1600 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap);
1601 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate); 1601 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate);
1602 } 1602 }
1603 1603
1604 if (FLAG_harmony_symbols) { 1604 if (FLAG_harmony_symbols) {
1605 INSTALL_NATIVE(Symbol, "symbolIterator", iterator_symbol); 1605 INSTALL_NATIVE(Symbol, "symbolIterator", iterator_symbol);
1606 } 1606 }
1607
1608 if (FLAG_harmony_unscopables) {
1609 INSTALL_NATIVE(Symbol, "symbolUnscopables", unscopables_symbol);
1610 }
1607 } 1611 }
1608 1612
1609 #undef INSTALL_NATIVE 1613 #undef INSTALL_NATIVE
1610 1614
1611 1615
1612 Handle<JSFunction> Genesis::InstallInternalArray( 1616 Handle<JSFunction> Genesis::InstallInternalArray(
1613 Handle<JSBuiltinsObject> builtins, 1617 Handle<JSBuiltinsObject> builtins,
1614 const char* name, 1618 const char* name,
1615 ElementsKind elements_kind) { 1619 ElementsKind elements_kind) {
1616 // --- I n t e r n a l A r r a y --- 1620 // --- I n t e r n a l A r r a y ---
(...skipping 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after
2705 return from + sizeof(NestingCounterType); 2709 return from + sizeof(NestingCounterType);
2706 } 2710 }
2707 2711
2708 2712
2709 // Called when the top-level V8 mutex is destroyed. 2713 // Called when the top-level V8 mutex is destroyed.
2710 void Bootstrapper::FreeThreadResources() { 2714 void Bootstrapper::FreeThreadResources() {
2711 ASSERT(!IsActive()); 2715 ASSERT(!IsActive());
2712 } 2716 }
2713 2717
2714 } } // namespace v8::internal 2718 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/contexts.h » ('j') | src/contexts.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698