Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Side by Side Diff: src/bootstrapper.cc

Issue 15504002: Array.observe emit splices for array length change and update index >= length (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: cr comments Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/contexts.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1558 matching lines...) Expand 10 before | Expand all | Expand 10 after
1569 1569
1570 void Genesis::InstallExperimentalNativeFunctions() { 1570 void Genesis::InstallExperimentalNativeFunctions() {
1571 if (FLAG_harmony_proxies) { 1571 if (FLAG_harmony_proxies) {
1572 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); 1572 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap);
1573 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); 1573 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap);
1574 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); 1574 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap);
1575 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate); 1575 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate);
1576 } 1576 }
1577 if (FLAG_harmony_observation) { 1577 if (FLAG_harmony_observation) {
1578 INSTALL_NATIVE(JSFunction, "NotifyChange", observers_notify_change); 1578 INSTALL_NATIVE(JSFunction, "NotifyChange", observers_notify_change);
1579 INSTALL_NATIVE(JSFunction, "EnqueueSpliceRecord", observers_enqueue_splice);
1580 INSTALL_NATIVE(JSFunction, "BeginPerformSplice",
1581 observers_begin_perform_splice);
1582 INSTALL_NATIVE(JSFunction, "EndPerformSplice",
1583 observers_end_perform_splice);
1579 INSTALL_NATIVE(JSFunction, "DeliverChangeRecords", 1584 INSTALL_NATIVE(JSFunction, "DeliverChangeRecords",
1580 observers_deliver_changes); 1585 observers_deliver_changes);
1581 } 1586 }
1582 } 1587 }
1583 1588
1584 #undef INSTALL_NATIVE 1589 #undef INSTALL_NATIVE
1585 1590
1586 1591
1587 Handle<JSFunction> Genesis::InstallInternalArray( 1592 Handle<JSFunction> Genesis::InstallInternalArray(
1588 Handle<JSBuiltinsObject> builtins, 1593 Handle<JSBuiltinsObject> builtins,
(...skipping 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after
2627 return from + sizeof(NestingCounterType); 2632 return from + sizeof(NestingCounterType);
2628 } 2633 }
2629 2634
2630 2635
2631 // Called when the top-level V8 mutex is destroyed. 2636 // Called when the top-level V8 mutex is destroyed.
2632 void Bootstrapper::FreeThreadResources() { 2637 void Bootstrapper::FreeThreadResources() {
2633 ASSERT(!IsActive()); 2638 ASSERT(!IsActive());
2634 } 2639 }
2635 2640
2636 } } // namespace v8::internal 2641 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/contexts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698