<https://bugs.webkit.org/show_bug.cgi?id=23049> [jsfunfuzz] With blocks do not correc...
[WebKit-https.git] / JavaScriptCore / bytecompiler / BytecodeGenerator.cpp
index b3dcdd2..7409cfe 100644 (file)
@@ -1395,6 +1395,7 @@ RegisterID* BytecodeGenerator::emitConstruct(RegisterID* dst, RegisterID* func,
 
 RegisterID* BytecodeGenerator::emitPushScope(RegisterID* scope)
 {
 
 RegisterID* BytecodeGenerator::emitPushScope(RegisterID* scope)
 {
+    ASSERT(scope->isTemporary());
     ControlFlowContext context;
     context.isFinallyBlock = false;
     m_scopeContextStack.append(context);
     ControlFlowContext context;
     context.isFinallyBlock = false;
     m_scopeContextStack.append(context);