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

Unified Diff: src/bootstrapper.cc

Issue 1075773003: Wrap proxy.js in a function. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/proxy.js » ('j') | src/proxy.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/bootstrapper.cc
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index 1b49ea5065a9b14abfaf2189a17a0ca2157e2727..463226c478ffba45140a106983d65b51c8b7fc5a 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -1570,10 +1570,10 @@ void Genesis::InstallNativeFunctions() {
void Genesis::InstallExperimentalNativeFunctions() {
if (FLAG_harmony_proxies) {
- INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap);
- INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap);
- INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap);
- INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate);
+ INSTALL_NATIVE(JSFunction, "$proxyDerivedHasTrap", derived_has_trap);
+ INSTALL_NATIVE(JSFunction, "$proxyDerivedGetTrap", derived_get_trap);
+ INSTALL_NATIVE(JSFunction, "$proxyDerivedSetTrap", derived_set_trap);
+ INSTALL_NATIVE(JSFunction, "$proxyEnumerate", proxy_enumerate);
}
#define INSTALL_NATIVE_FUNCTIONS_FOR(id, descr) InstallNativeFunctions_##id();
@@ -1660,10 +1660,10 @@ EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_spreadcalls)
void Genesis::InstallNativeFunctions_harmony_proxies() {
if (FLAG_harmony_proxies) {
- INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap);
- INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap);
- INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap);
- INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate);
+ INSTALL_NATIVE(JSFunction, "$proxyDerivedHasTrap", derived_has_trap);
+ INSTALL_NATIVE(JSFunction, "$proxyDerivedGetTrap", derived_get_trap);
+ INSTALL_NATIVE(JSFunction, "$proxyDerivedSetTrap", derived_set_trap);
+ INSTALL_NATIVE(JSFunction, "$proxyEnumerate", proxy_enumerate);
}
}
« no previous file with comments | « no previous file | src/proxy.js » ('j') | src/proxy.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698