OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 1400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1411 | 1411 |
1412 void Genesis::InstallExperimentalNativeFunctions() { | 1412 void Genesis::InstallExperimentalNativeFunctions() { |
1413 if (FLAG_harmony_proxies) { | 1413 if (FLAG_harmony_proxies) { |
1414 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); | 1414 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); |
1415 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); | 1415 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); |
1416 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); | 1416 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); |
1417 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate); | 1417 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate); |
1418 } | 1418 } |
1419 if (FLAG_harmony_observation) { | 1419 if (FLAG_harmony_observation) { |
1420 INSTALL_NATIVE(JSFunction, "NotifyChange", observers_notify_change); | 1420 INSTALL_NATIVE(JSFunction, "NotifyChange", observers_notify_change); |
| 1421 INSTALL_NATIVE(JSFunction, "DeliverChangeRecords", |
| 1422 observers_deliver_changes); |
1421 } | 1423 } |
1422 } | 1424 } |
1423 | 1425 |
1424 #undef INSTALL_NATIVE | 1426 #undef INSTALL_NATIVE |
1425 | 1427 |
1426 | 1428 |
1427 bool Genesis::InstallNatives() { | 1429 bool Genesis::InstallNatives() { |
1428 HandleScope scope; | 1430 HandleScope scope; |
1429 | 1431 |
1430 // Create a function for the builtins object. Allocate space for the | 1432 // Create a function for the builtins object. Allocate space for the |
(...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2408 return from + sizeof(NestingCounterType); | 2410 return from + sizeof(NestingCounterType); |
2409 } | 2411 } |
2410 | 2412 |
2411 | 2413 |
2412 // Called when the top-level V8 mutex is destroyed. | 2414 // Called when the top-level V8 mutex is destroyed. |
2413 void Bootstrapper::FreeThreadResources() { | 2415 void Bootstrapper::FreeThreadResources() { |
2414 ASSERT(!IsActive()); | 2416 ASSERT(!IsActive()); |
2415 } | 2417 } |
2416 | 2418 |
2417 } } // namespace v8::internal | 2419 } } // namespace v8::internal |
OLD | NEW |