OLD | NEW |
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/isolate-inl.h" | 8 #include "src/isolate-inl.h" |
9 #include "src/natives.h" | 9 #include "src/natives.h" |
10 #include "src/snapshot.h" | 10 #include "src/snapshot.h" |
(...skipping 1603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1614 } | 1614 } |
1615 | 1615 |
1616 | 1616 |
1617 void Genesis::InstallExperimentalNativeFunctions() { | 1617 void Genesis::InstallExperimentalNativeFunctions() { |
1618 if (FLAG_harmony_proxies) { | 1618 if (FLAG_harmony_proxies) { |
1619 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); | 1619 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); |
1620 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); | 1620 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); |
1621 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); | 1621 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); |
1622 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate); | 1622 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate); |
1623 } | 1623 } |
| 1624 |
| 1625 if (FLAG_harmony_symbols) { |
| 1626 INSTALL_NATIVE(Symbol, "symbolIterator", iterator_symbol); |
| 1627 } |
1624 } | 1628 } |
1625 | 1629 |
1626 #undef INSTALL_NATIVE | 1630 #undef INSTALL_NATIVE |
1627 | 1631 |
1628 | 1632 |
1629 Handle<JSFunction> Genesis::InstallInternalArray( | 1633 Handle<JSFunction> Genesis::InstallInternalArray( |
1630 Handle<JSBuiltinsObject> builtins, | 1634 Handle<JSBuiltinsObject> builtins, |
1631 const char* name, | 1635 const char* name, |
1632 ElementsKind elements_kind) { | 1636 ElementsKind elements_kind) { |
1633 // --- I n t e r n a l A r r a y --- | 1637 // --- I n t e r n a l A r r a y --- |
(...skipping 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2713 return from + sizeof(NestingCounterType); | 2717 return from + sizeof(NestingCounterType); |
2714 } | 2718 } |
2715 | 2719 |
2716 | 2720 |
2717 // Called when the top-level V8 mutex is destroyed. | 2721 // Called when the top-level V8 mutex is destroyed. |
2718 void Bootstrapper::FreeThreadResources() { | 2722 void Bootstrapper::FreeThreadResources() { |
2719 ASSERT(!IsActive()); | 2723 ASSERT(!IsActive()); |
2720 } | 2724 } |
2721 | 2725 |
2722 } } // namespace v8::internal | 2726 } } // namespace v8::internal |
OLD | NEW |