mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Simplify isRegExpObject check (#399)
Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
parent
147032bb80
commit
387a30267c
8 changed files with 46 additions and 46 deletions
|
|
@ -204,9 +204,9 @@ bool RegExpObject::defineOwnProperty(ExecutionState& state, const ObjectProperty
|
|||
return returnValue;
|
||||
}
|
||||
|
||||
bool RegExpObject::isRegExpObject(ExecutionState& state)
|
||||
bool RegExpObject::isRegExpObject()
|
||||
{
|
||||
return this->getPrototypeObject(state)->isRegExpPrototypeObject() || isRegExpPrototypeObject();
|
||||
return true;
|
||||
}
|
||||
|
||||
void RegExpObject::parseOption(ExecutionState& state, const String* optionString)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue