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

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: remove todos Created 7 years, 7 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') | src/objects.cc » ('J')
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 1552 matching lines...) Expand 10 before | Expand all | Expand 10 after
1563 1563
1564 void Genesis::InstallExperimentalNativeFunctions() { 1564 void Genesis::InstallExperimentalNativeFunctions() {
1565 if (FLAG_harmony_proxies) { 1565 if (FLAG_harmony_proxies) {
1566 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); 1566 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap);
1567 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); 1567 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap);
1568 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); 1568 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap);
1569 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate); 1569 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate);
1570 } 1570 }
1571 if (FLAG_harmony_observation) { 1571 if (FLAG_harmony_observation) {
1572 INSTALL_NATIVE(JSFunction, "NotifyChange", observers_notify_change); 1572 INSTALL_NATIVE(JSFunction, "NotifyChange", observers_notify_change);
1573 INSTALL_NATIVE(JSFunction, "EnqueueSpliceRecord", observers_enqueue_splice);
1574 INSTALL_NATIVE(JSFunction, "BeginPerformSplice",
1575 observers_begin_perform_splice);
1576 INSTALL_NATIVE(JSFunction, "EndPerformSplice",
1577 observers_end_perform_splice);
1573 INSTALL_NATIVE(JSFunction, "DeliverChangeRecords", 1578 INSTALL_NATIVE(JSFunction, "DeliverChangeRecords",
1574 observers_deliver_changes); 1579 observers_deliver_changes);
1575 } 1580 }
1576 } 1581 }
1577 1582
1578 #undef INSTALL_NATIVE 1583 #undef INSTALL_NATIVE
1579 1584
1580 1585
1581 Handle<JSFunction> Genesis::InstallInternalArray( 1586 Handle<JSFunction> Genesis::InstallInternalArray(
1582 Handle<JSBuiltinsObject> builtins, 1587 Handle<JSBuiltinsObject> builtins,
(...skipping 1043 matching lines...) Expand 10 before | Expand all | Expand 10 after
2626 return from + sizeof(NestingCounterType); 2631 return from + sizeof(NestingCounterType);
2627 } 2632 }
2628 2633
2629 2634
2630 // Called when the top-level V8 mutex is destroyed. 2635 // Called when the top-level V8 mutex is destroyed.
2631 void Bootstrapper::FreeThreadResources() { 2636 void Bootstrapper::FreeThreadResources() {
2632 ASSERT(!IsActive()); 2637 ASSERT(!IsActive());
2633 } 2638 }
2634 2639
2635 } } // namespace v8::internal 2640 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/contexts.h » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698