| 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 1632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1643 if (FLAG_harmony_proxies) { | 1643 if (FLAG_harmony_proxies) { |
| 1644 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); | 1644 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); |
| 1645 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); | 1645 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); |
| 1646 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); | 1646 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); |
| 1647 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate); | 1647 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate); |
| 1648 } | 1648 } |
| 1649 | 1649 |
| 1650 if (FLAG_harmony_symbols) { | 1650 if (FLAG_harmony_symbols) { |
| 1651 INSTALL_NATIVE(Symbol, "symbolIterator", iterator_symbol); | 1651 INSTALL_NATIVE(Symbol, "symbolIterator", iterator_symbol); |
| 1652 } | 1652 } |
| 1653 |
| 1654 if (FLAG_harmony_iteration) { |
| 1655 INSTALL_NATIVE(JSFunction, "ArrayValues", array_values_iterator); |
| 1656 } |
| 1653 } | 1657 } |
| 1654 | 1658 |
| 1655 #undef INSTALL_NATIVE | 1659 #undef INSTALL_NATIVE |
| 1656 | 1660 |
| 1657 | 1661 |
| 1658 Handle<JSFunction> Genesis::InstallInternalArray( | 1662 Handle<JSFunction> Genesis::InstallInternalArray( |
| 1659 Handle<JSBuiltinsObject> builtins, | 1663 Handle<JSBuiltinsObject> builtins, |
| 1660 const char* name, | 1664 const char* name, |
| 1661 ElementsKind elements_kind) { | 1665 ElementsKind elements_kind) { |
| 1662 // --- I n t e r n a l A r r a y --- | 1666 // --- 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... |
| 2742 return from + sizeof(NestingCounterType); | 2746 return from + sizeof(NestingCounterType); |
| 2743 } | 2747 } |
| 2744 | 2748 |
| 2745 | 2749 |
| 2746 // Called when the top-level V8 mutex is destroyed. | 2750 // Called when the top-level V8 mutex is destroyed. |
| 2747 void Bootstrapper::FreeThreadResources() { | 2751 void Bootstrapper::FreeThreadResources() { |
| 2748 ASSERT(!IsActive()); | 2752 ASSERT(!IsActive()); |
| 2749 } | 2753 } |
| 2750 | 2754 |
| 2751 } } // namespace v8::internal | 2755 } } // namespace v8::internal |
| OLD | NEW |