OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1355 INSTALL_NATIVE(JSObject, "functionCache", function_cache); | 1355 INSTALL_NATIVE(JSObject, "functionCache", function_cache); |
1356 INSTALL_NATIVE(JSFunction, "ToCompletePropertyDescriptor", | 1356 INSTALL_NATIVE(JSFunction, "ToCompletePropertyDescriptor", |
1357 to_complete_property_descriptor); | 1357 to_complete_property_descriptor); |
1358 } | 1358 } |
1359 | 1359 |
1360 void Genesis::InstallExperimentalNativeFunctions() { | 1360 void Genesis::InstallExperimentalNativeFunctions() { |
1361 if (FLAG_harmony_proxies) { | 1361 if (FLAG_harmony_proxies) { |
1362 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); | 1362 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); |
1363 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); | 1363 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); |
1364 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); | 1364 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); |
| 1365 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate); |
1365 } | 1366 } |
1366 } | 1367 } |
1367 | 1368 |
1368 #undef INSTALL_NATIVE | 1369 #undef INSTALL_NATIVE |
1369 | 1370 |
1370 | 1371 |
1371 bool Genesis::InstallNatives() { | 1372 bool Genesis::InstallNatives() { |
1372 HandleScope scope; | 1373 HandleScope scope; |
1373 | 1374 |
1374 // Create a function for the builtins object. Allocate space for the | 1375 // Create a function for the builtins object. Allocate space for the |
(...skipping 891 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2266 return from + sizeof(NestingCounterType); | 2267 return from + sizeof(NestingCounterType); |
2267 } | 2268 } |
2268 | 2269 |
2269 | 2270 |
2270 // Called when the top-level V8 mutex is destroyed. | 2271 // Called when the top-level V8 mutex is destroyed. |
2271 void Bootstrapper::FreeThreadResources() { | 2272 void Bootstrapper::FreeThreadResources() { |
2272 ASSERT(!IsActive()); | 2273 ASSERT(!IsActive()); |
2273 } | 2274 } |
2274 | 2275 |
2275 } } // namespace v8::internal | 2276 } } // namespace v8::internal |
OLD | NEW |