mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
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:
parent
2403444eba
commit
1a570da155
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue