mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Fix SVace bugs
* Fix uninitialized class member bug * Change ifdef NDEBUG to ifndef NDEBUG Signed-off-by: Seungsoo Lee <seugnsoo47.lee@samsung.com>
This commit is contained in:
parent
07270e518d
commit
bbacfbac0d
2 changed files with 2 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ ScriptFunctionObject::ScriptFunctionObject(ExecutionState& state, Object* proto,
|
|||
m_codeBlock = codeBlock;
|
||||
m_outerEnvironment = outerEnvironment;
|
||||
|
||||
#ifdef NDEBUG
|
||||
#ifndef NDEBUG
|
||||
if (m_outerEnvironment) {
|
||||
ASSERT(m_outerEnvironment->isAllocatedOnHeap());
|
||||
if (m_outerEnvironment->record()->isDeclarativeEnvironmentRecord() && m_outerEnvironment->record()->asDeclarativeEnvironmentRecord()->isFunctionEnvironmentRecord()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue