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

Side by Side Diff: src/bootstrapper.cc

Issue 11266011: Delivery logic for Object.observe (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Renamed and added comment Created 8 years, 1 month 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 1400 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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