| Index: src/weak-collection.js
|
| diff --git a/src/weak-collection.js b/src/weak-collection.js
|
| index 67deddb95ee57491b585bf8d1f0cebe4be800d3d..1c60a2f47a695b19f69b2ea4fc2c1a1486b9002e 100644
|
| --- a/src/weak-collection.js
|
| +++ b/src/weak-collection.js
|
| @@ -32,7 +32,7 @@ function WeakMapConstructor(iterable) {
|
| if (!IS_SPEC_OBJECT(nextItem)) {
|
| throw MakeTypeError(kIteratorValueNotAnObject, nextItem);
|
| }
|
| - %_CallFunction(this, nextItem[0], nextItem[1], adder);
|
| + %_Call(adder, this, nextItem[0], nextItem[1]);
|
| }
|
| }
|
| }
|
| @@ -118,7 +118,7 @@ function WeakSetConstructor(iterable) {
|
| throw MakeTypeError(kPropertyNotFunction, 'add', this);
|
| }
|
| for (var value of iterable) {
|
| - %_CallFunction(this, value, adder);
|
| + %_Call(adder, this, value);
|
| }
|
| }
|
| }
|
|
|