| Index: src/js/harmony-regexp.js
|
| diff --git a/src/js/harmony-regexp.js b/src/js/harmony-regexp.js
|
| index eadf1d237cb96bb70b13014913829ff5bdb051f3..2e3bd06707965a0aaa1a4fa86fe16f644af998db 100644
|
| --- a/src/js/harmony-regexp.js
|
| +++ b/src/js/harmony-regexp.js
|
| @@ -24,7 +24,7 @@ utils.Import(function(from) {
|
| // ES6 draft 12-06-13, section 21.2.5.3
|
| // + https://bugs.ecmascript.org/show_bug.cgi?id=3423
|
| function RegExpGetFlags() {
|
| - if (!IS_SPEC_OBJECT(this)) {
|
| + if (!IS_RECEIVER(this)) {
|
| throw MakeTypeError(
|
| kRegExpNonObject, "RegExp.prototype.flags", TO_STRING(this));
|
| }
|
|
|