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