| Index: src/runtime.js
|
| diff --git a/src/runtime.js b/src/runtime.js
|
| index ad682d9c38d89a5690ac472339db93bf0b5cffef..004f9bf61bcdd1a088f12696b7216c0ead17f1c6 100644
|
| --- a/src/runtime.js
|
| +++ b/src/runtime.js
|
| @@ -235,7 +235,7 @@
|
| if (IS_NUMBER(this) && IS_NUMBER(x)) return %NumberAdd(this, x);
|
| if (IS_STRING(this) && IS_STRING(x)) return %_StringAdd(this, x);
|
|
|
| - throw %MakeTypeError(kStrongImplicitCast);
|
| + throw %MakeTypeError('strong_implicit_cast');
|
| }
|
|
|
|
|
| @@ -259,7 +259,7 @@
|
| if (IS_STRING(y)) {
|
| return %_StringAdd(this, y);
|
| }
|
| - throw %MakeTypeError(kStrongImplicitCast);
|
| + throw %MakeTypeError('strong_implicit_cast');
|
| }
|
|
|
|
|
| @@ -284,7 +284,7 @@
|
| if (IS_STRING(this)) {
|
| return %_StringAdd(this, y);
|
| }
|
| - throw %MakeTypeError(kStrongImplicitCast);
|
| + throw %MakeTypeError('strong_implicit_cast');
|
| }
|
|
|
|
|
| @@ -301,7 +301,7 @@
|
| if (IS_NUMBER(this) && IS_NUMBER(y)) {
|
| return %NumberSub(this, y);
|
| }
|
| - throw %MakeTypeError(kStrongImplicitCast);
|
| + throw %MakeTypeError('strong_implicit_cast');
|
| }
|
|
|
|
|
| @@ -318,7 +318,7 @@
|
| if (IS_NUMBER(this) && IS_NUMBER(y)) {
|
| return %NumberMul(this, y);
|
| }
|
| - throw %MakeTypeError(kStrongImplicitCast);
|
| + throw %MakeTypeError('strong_implicit_cast');
|
| }
|
|
|
|
|
| @@ -335,7 +335,7 @@
|
| if (IS_NUMBER(this) && IS_NUMBER(y)) {
|
| return %NumberDiv(this, y);
|
| }
|
| - throw %MakeTypeError(kStrongImplicitCast);
|
| + throw %MakeTypeError('strong_implicit_cast');
|
| }
|
|
|
|
|
| @@ -352,7 +352,7 @@
|
| if (IS_NUMBER(this) && IS_NUMBER(y)) {
|
| return %NumberMod(this, y);
|
| }
|
| - throw %MakeTypeError(kStrongImplicitCast);
|
| + throw %MakeTypeError('strong_implicit_cast');
|
| }
|
|
|
|
|
| @@ -374,7 +374,7 @@
|
| if (IS_NUMBER(this) && IS_NUMBER(y)) {
|
| return %NumberOr(this, y);
|
| }
|
| - throw %MakeTypeError(kStrongImplicitCast);
|
| + throw %MakeTypeError('strong_implicit_cast');
|
| }
|
|
|
|
|
| @@ -405,7 +405,7 @@
|
| if (IS_NUMBER(this) && IS_NUMBER(y)) {
|
| return %NumberAnd(this, y);
|
| }
|
| - throw %MakeTypeError(kStrongImplicitCast);
|
| + throw %MakeTypeError('strong_implicit_cast');
|
| }
|
|
|
|
|
| @@ -422,7 +422,7 @@
|
| if (IS_NUMBER(this) && IS_NUMBER(y)) {
|
| return %NumberXor(this, y);
|
| }
|
| - throw %MakeTypeError(kStrongImplicitCast);
|
| + throw %MakeTypeError('strong_implicit_cast');
|
| }
|
|
|
|
|
| @@ -439,7 +439,7 @@
|
| if (IS_NUMBER(this) && IS_NUMBER(y)) {
|
| return %NumberShl(this, y);
|
| }
|
| - throw %MakeTypeError(kStrongImplicitCast);
|
| + throw %MakeTypeError('strong_implicit_cast');
|
| }
|
|
|
|
|
| @@ -470,7 +470,7 @@
|
| if (IS_NUMBER(this) && IS_NUMBER(y)) {
|
| return %NumberSar(this, y);
|
| }
|
| - throw %MakeTypeError(kStrongImplicitCast);
|
| + throw %MakeTypeError('strong_implicit_cast');
|
| }
|
|
|
|
|
| @@ -487,7 +487,7 @@
|
| if (IS_NUMBER(this) && IS_NUMBER(y)) {
|
| return %NumberShr(this, y);
|
| }
|
| - throw %MakeTypeError(kStrongImplicitCast);
|
| + throw %MakeTypeError('strong_implicit_cast');
|
| }
|
|
|
|
|
|
|