| 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/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 1578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1589 if (FLAG_harmony_proxies) { | 1589 if (FLAG_harmony_proxies) { |
| 1590 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); | 1590 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); |
| 1591 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); | 1591 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); |
| 1592 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); | 1592 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); |
| 1593 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate); | 1593 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate); |
| 1594 } | 1594 } |
| 1595 | 1595 |
| 1596 if (FLAG_harmony_symbols) { | 1596 if (FLAG_harmony_symbols) { |
| 1597 INSTALL_NATIVE(Symbol, "symbolIterator", iterator_symbol); | 1597 INSTALL_NATIVE(Symbol, "symbolIterator", iterator_symbol); |
| 1598 } | 1598 } |
| 1599 |
| 1600 if (FLAG_harmony_unscopables) { |
| 1601 INSTALL_NATIVE(Symbol, "symbolUnscopables", unscopables_symbol); |
| 1602 } |
| 1599 } | 1603 } |
| 1600 | 1604 |
| 1601 #undef INSTALL_NATIVE | 1605 #undef INSTALL_NATIVE |
| 1602 | 1606 |
| 1603 | 1607 |
| 1604 Handle<JSFunction> Genesis::InstallInternalArray( | 1608 Handle<JSFunction> Genesis::InstallInternalArray( |
| 1605 Handle<JSBuiltinsObject> builtins, | 1609 Handle<JSBuiltinsObject> builtins, |
| 1606 const char* name, | 1610 const char* name, |
| 1607 ElementsKind elements_kind) { | 1611 ElementsKind elements_kind) { |
| 1608 // --- I n t e r n a l A r r a y --- | 1612 // --- I n t e r n a l A r r a y --- |
| (...skipping 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2692 return from + sizeof(NestingCounterType); | 2696 return from + sizeof(NestingCounterType); |
| 2693 } | 2697 } |
| 2694 | 2698 |
| 2695 | 2699 |
| 2696 // Called when the top-level V8 mutex is destroyed. | 2700 // Called when the top-level V8 mutex is destroyed. |
| 2697 void Bootstrapper::FreeThreadResources() { | 2701 void Bootstrapper::FreeThreadResources() { |
| 2698 ASSERT(!IsActive()); | 2702 ASSERT(!IsActive()); |
| 2699 } | 2703 } |
| 2700 | 2704 |
| 2701 } } // namespace v8::internal | 2705 } } // namespace v8::internal |
| OLD | NEW |