Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
chakrashim: fix debug build failure
Browse files Browse the repository at this point in the history
Fixing debug build failure introduced in
df8e7ca

PR-URL: #298
Reviewed-By: Kunal Pathak <kunal.pathak@microsoft.com>
Reviewed-By: Hitesh Kanwathirtha <hiteshk@microsoft.com>
  • Loading branch information
kfarnung committed Jun 13, 2017
1 parent d03aa0a commit 25bdb95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/chakrashim/src/v8regexp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ MaybeLocal<RegExp> RegExp::New(Local<Context> context, Handle<String> pattern,
flagsStr[flagsCount++] = 'm';
}

CHAKRA_ASSERT(flagsCount <= c_maxFlagCount);
CHAKRA_ASSERT(flagsCount <= kMaxFlagCount);

JsValueRef flagsValue;
if (JsCreateString(flagsStr, flagsCount, &flagsValue) != JsNoError) {
Expand Down

0 comments on commit 25bdb95

Please sign in to comment.