VM: Fix regexp_test.cc after IRRegExpMacroAssembler::Execute signature chages.

Pass sticky=false to Execute.

TBR=rmacnak@google.com

Review URL: https://codereview.chromium.org/2502253006 .
This commit is contained in:
Vyacheslav Egorov 2016-11-17 17:56:24 +01:00
parent 2403444eba
commit 1a570da155

View file

@ -18,7 +18,8 @@ static RawArray* Match(const String& pat, const String& str) {
const RegExp& regexp =
RegExp::Handle(RegExpEngine::CreateRegExp(thread, pat, false, false));
const Smi& idx = Smi::Handle(Smi::New(0));
return IRRegExpMacroAssembler::Execute(regexp, str, idx, zone);
return IRRegExpMacroAssembler::Execute(regexp, str, idx, /*sticky=*/false,
zone);
}
TEST_CASE(RegExp_OneByteString) {