Index: src/harmony-regexp.js |
diff --git a/src/harmony-regexp.js b/src/harmony-regexp.js |
index c90eb802a14e02f41d517045733a36a9ccf27b9f..f8e721f8c8b1446b02d3e23f0f53bd6a4f534d9a 100644 |
--- a/src/harmony-regexp.js |
+++ b/src/harmony-regexp.js |
@@ -16,8 +16,7 @@ var GlobalRegExp = global.RegExp; |
// + https://bugs.ecmascript.org/show_bug.cgi?id=3423 |
function RegExpGetFlags() { |
if (!IS_SPEC_OBJECT(this)) { |
- throw MakeTypeError('flags_getter_non_object', |
- [%ToString(this)]); |
+ throw MakeTypeError(kFlagsGetterNonObject, %ToString(this)); |
} |
var result = ''; |
if (this.global) result += 'g'; |