| Index: src/js/v8natives.js
|
| diff --git a/src/js/v8natives.js b/src/js/v8natives.js
|
| index a394629c1b48f7321af0271b1e07b06cc3681d82..be10a105aeaf7e75c952277c37b3a792162c055b 100644
|
| --- a/src/js/v8natives.js
|
| +++ b/src/js/v8natives.js
|
| @@ -500,11 +500,11 @@
|
| // ObjectGetOwnPropertyDescriptor and delete this.
|
| function GetOwnPropertyJS(obj, v) {
|
| var p = TO_NAME(v);
|
| - if (IS_PROXY(obj)) {
|
| + if (%_IsJSProxy(obj)) {
|
| // TODO(rossberg): adjust once there is a story for symbols vs proxies.
|
| if (IS_SYMBOL(v)) return UNDEFINED;
|
|
|
| - var handler = %JSProxyGetHandler(obj);
|
| + var handler = %GetHandler(obj);
|
| var descriptor = CallTrap1(
|
| handler, "getOwnPropertyDescriptor", UNDEFINED, p);
|
| if (IS_UNDEFINED(descriptor)) return descriptor;
|
| @@ -538,7 +538,7 @@
|
| // TODO(rossberg): adjust once there is a story for symbols vs proxies.
|
| if (IS_SYMBOL(p)) return false;
|
|
|
| - var handler = %JSProxyGetHandler(obj);
|
| + var handler = %GetHandler(obj);
|
| var result = CallTrap2(handler, "defineProperty", UNDEFINED, p, attributes);
|
| if (!result) {
|
| if (should_throw) {
|
| @@ -761,7 +761,7 @@
|
|
|
| // ES5 section 8.12.9, ES5 section 15.4.5.1 and Harmony proxies.
|
| function DefineOwnProperty(obj, p, desc, should_throw) {
|
| - if (IS_PROXY(obj)) {
|
| + if (%_IsJSProxy(obj)) {
|
| // TODO(rossberg): adjust once there is a story for symbols vs proxies.
|
| if (IS_SYMBOL(p)) return false;
|
|
|
|
|