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

Side by Side Diff: src/bootstrapper.cc

Issue 154283002: V8 Microtask Queue & API (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: pre-review Created 6 years, 10 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
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 1564 matching lines...) Expand 10 before | Expand all | Expand 10 after
1575 configure_instance_fun); 1575 configure_instance_fun);
1576 INSTALL_NATIVE(JSFunction, "GetStackTraceLine", get_stack_trace_line_fun); 1576 INSTALL_NATIVE(JSFunction, "GetStackTraceLine", get_stack_trace_line_fun);
1577 INSTALL_NATIVE(JSObject, "functionCache", function_cache); 1577 INSTALL_NATIVE(JSObject, "functionCache", function_cache);
1578 INSTALL_NATIVE(JSFunction, "ToCompletePropertyDescriptor", 1578 INSTALL_NATIVE(JSFunction, "ToCompletePropertyDescriptor",
1579 to_complete_property_descriptor); 1579 to_complete_property_descriptor);
1580 } 1580 }
1581 1581
1582 1582
1583 void Genesis::InstallExperimentalNativeFunctions() { 1583 void Genesis::InstallExperimentalNativeFunctions() {
1584 INSTALL_NATIVE(JSFunction, "RunMicrotasks", run_microtasks); 1584 INSTALL_NATIVE(JSFunction, "RunMicrotasks", run_microtasks);
1585 INSTALL_NATIVE(JSFunction, "EnqueueExternalMicrotask",
1586 enqueue_external_microtask);
1587
1585 if (FLAG_harmony_proxies) { 1588 if (FLAG_harmony_proxies) {
1586 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); 1589 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap);
1587 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); 1590 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap);
1588 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); 1591 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap);
1589 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate); 1592 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate);
1590 } 1593 }
1591 if (FLAG_harmony_observation) { 1594 if (FLAG_harmony_observation) {
1592 INSTALL_NATIVE(JSFunction, "NotifyChange", observers_notify_change); 1595 INSTALL_NATIVE(JSFunction, "NotifyChange", observers_notify_change);
1593 INSTALL_NATIVE(JSFunction, "EnqueueSpliceRecord", observers_enqueue_splice); 1596 INSTALL_NATIVE(JSFunction, "EnqueueSpliceRecord", observers_enqueue_splice);
1594 INSTALL_NATIVE(JSFunction, "BeginPerformSplice", 1597 INSTALL_NATIVE(JSFunction, "BeginPerformSplice",
(...skipping 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after
2731 return from + sizeof(NestingCounterType); 2734 return from + sizeof(NestingCounterType);
2732 } 2735 }
2733 2736
2734 2737
2735 // Called when the top-level V8 mutex is destroyed. 2738 // Called when the top-level V8 mutex is destroyed.
2736 void Bootstrapper::FreeThreadResources() { 2739 void Bootstrapper::FreeThreadResources() {
2737 ASSERT(!IsActive()); 2740 ASSERT(!IsActive());
2738 } 2741 }
2739 2742
2740 } } // namespace v8::internal 2743 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698