From 25bdb95a579b5c28af875374593bc2463485e0b4 Mon Sep 17 00:00:00 2001 From: Kyle Farnung Date: Mon, 12 Jun 2017 17:35:54 -0700 Subject: [PATCH] chakrashim: fix debug build failure Fixing debug build failure introduced in df8e7cab7d4a16f8c6d2cb285a3b9d2dc89b54b3 PR-URL: https://github.com/nodejs/node-chakracore/pull/298 Reviewed-By: Kunal Pathak Reviewed-By: Hitesh Kanwathirtha --- deps/chakrashim/src/v8regexp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/chakrashim/src/v8regexp.cc b/deps/chakrashim/src/v8regexp.cc index 4940db2a891..d71a645d34d 100644 --- a/deps/chakrashim/src/v8regexp.cc +++ b/deps/chakrashim/src/v8regexp.cc @@ -48,7 +48,7 @@ MaybeLocal RegExp::New(Local context, Handle pattern, flagsStr[flagsCount++] = 'm'; } - CHAKRA_ASSERT(flagsCount <= c_maxFlagCount); + CHAKRA_ASSERT(flagsCount <= kMaxFlagCount); JsValueRef flagsValue; if (JsCreateString(flagsStr, flagsCount, &flagsValue) != JsNoError) {