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

Side by Side Diff: src/bootstrapper.cc

Issue 280243002: Avoid name clashes of builtins and runtime functions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | « src/arraybuffer.js ('k') | src/builtins.cc » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "bootstrapper.h" 5 #include "bootstrapper.h"
6 6
7 #include "accessors.h" 7 #include "accessors.h"
8 #include "isolate-inl.h" 8 #include "isolate-inl.h"
9 #include "natives.h" 9 #include "natives.h"
10 #include "snapshot.h" 10 #include "snapshot.h"
(...skipping 1531 matching lines...) Expand 10 before | Expand all | Expand 10 after
1542 INSTALL_NATIVE(JSFunction, "NativeObjectObserve", 1542 INSTALL_NATIVE(JSFunction, "NativeObjectObserve",
1543 native_object_observe); 1543 native_object_observe);
1544 INSTALL_NATIVE(JSFunction, "NativeObjectGetNotifier", 1544 INSTALL_NATIVE(JSFunction, "NativeObjectGetNotifier",
1545 native_object_get_notifier); 1545 native_object_get_notifier);
1546 INSTALL_NATIVE(JSFunction, "NativeObjectNotifierPerformChange", 1546 INSTALL_NATIVE(JSFunction, "NativeObjectNotifierPerformChange",
1547 native_object_notifier_perform_change); 1547 native_object_notifier_perform_change);
1548 } 1548 }
1549 1549
1550 1550
1551 void Genesis::InstallExperimentalNativeFunctions() { 1551 void Genesis::InstallExperimentalNativeFunctions() {
1552 INSTALL_NATIVE(JSFunction, "RunMicrotasks", run_microtasks); 1552 INSTALL_NATIVE(JSFunction, "RunMicrotasksJS", run_microtasks);
1553 INSTALL_NATIVE(JSFunction, "EnqueueMicrotask", enqueue_microtask); 1553 INSTALL_NATIVE(JSFunction, "EnqueueMicrotask", enqueue_microtask);
1554 1554
1555 if (FLAG_harmony_proxies) { 1555 if (FLAG_harmony_proxies) {
1556 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); 1556 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap);
1557 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); 1557 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap);
1558 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); 1558 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap);
1559 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate); 1559 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate);
1560 } 1560 }
1561 } 1561 }
1562 1562
(...skipping 1091 matching lines...) Expand 10 before | Expand all | Expand 10 after
2654 return from + sizeof(NestingCounterType); 2654 return from + sizeof(NestingCounterType);
2655 } 2655 }
2656 2656
2657 2657
2658 // Called when the top-level V8 mutex is destroyed. 2658 // Called when the top-level V8 mutex is destroyed.
2659 void Bootstrapper::FreeThreadResources() { 2659 void Bootstrapper::FreeThreadResources() {
2660 ASSERT(!IsActive()); 2660 ASSERT(!IsActive());
2661 } 2661 }
2662 2662
2663 } } // namespace v8::internal 2663 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arraybuffer.js ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698