Skip to content
  • ggaren@apple.com's avatar
    Simplified the bytecode by removing op_jmp_scopes · b4787ec4
    ggaren@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=113545
    
    Reviewed by Filip Pizlo.
    
    We already have op_pop_scope and op_jmp, so we don't need op_jmp_scopes.
    Using op_jmp_scopes was also adding a "jump to self" to codegen for
    return statements, which was pretty silly.
    
    * JavaScriptCore.order:
    * bytecode/CodeBlock.cpp:
    (JSC::CodeBlock::dumpBytecode):
    * bytecode/Opcode.h:
    (JSC::padOpcodeName):
    * bytecode/PreciseJumpTargets.cpp:
    (JSC::computePreciseJumpTargets):
    * bytecompiler/BytecodeGenerator.cpp:
    (JSC::BytecodeGenerator::emitComplexPopScopes):
    (JSC::BytecodeGenerator::emitPopScopes):
    * bytecompiler/BytecodeGenerator.h:
    (BytecodeGenerator):
    * bytecompiler/NodesCodegen.cpp:
    (JSC::ContinueNode::emitBytecode):
    (JSC::BreakNode::emitBytecode):
    (JSC::ReturnNode::emitBytecode):
    * jit/JIT.cpp:
    (JSC::JIT::privateCompileMainPass):
    * jit/JIT.h:
    * jit/JITOpcodes.cpp:
    * jit/JITOpcodes32_64.cpp:
    * jit/JITStubs.cpp:
    * jit/JITStubs.h:
    * llint/LLIntSlowPaths.cpp:
    * llint/LLIntSlowPaths.h:
    * llint/LowLevelInterpreter.asm:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147184 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    b4787ec4