RegisterID* BytecodeGenerator::emitCatch(RegisterID* targetRegister, Label* start, Label* end)
{
-#if ENABLE(JIT)
- HandlerInfo info = { start->bind(0, 0), end->bind(0, 0), instructions().size(), m_dynamicScopeDepth + m_baseScopeDepth, CodeLocationLabel() };
-#else
HandlerInfo info = {
static_cast<uint32_t>(start->bind(0, 0)),
static_cast<uint32_t>(end->bind(0, 0)),
static_cast<uint32_t>(instructions().size()),
static_cast<uint32_t>(m_dynamicScopeDepth + m_baseScopeDepth)
- };
+#if ENABLE(JIT)
+ , CodeLocationLabel()
#endif
+ };
m_codeBlock->addExceptionHandler(info);
emitOpcode(op_catch);