Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
5230 commits behind the upstream repository.
  • Luite Stegeman's avatar
    564164ef
    Support large stack frames/offsets in GHCi bytecode interpreter · 564164ef
    Luite Stegeman authored
    Bytecode instructions like PUSH_L (push a local variable) contain
    an operand that refers to the stack slot. Before this patch, the
    operand type was SmallOp (Word16), limiting the maximum stack
    offset to 65535 words. This could cause compiler panics in some
    cases (See #22888).
    
    This patch changes the operand type for stack offsets from
    SmallOp to Op, removing the stack offset limit.
    
    Fixes #22888
    564164ef
    History
    Support large stack frames/offsets in GHCi bytecode interpreter
    Luite Stegeman authored
    Bytecode instructions like PUSH_L (push a local variable) contain
    an operand that refers to the stack slot. Before this patch, the
    operand type was SmallOp (Word16), limiting the maximum stack
    offset to 65535 words. This could cause compiler panics in some
    cases (See #22888).
    
    This patch changes the operand type for stack offsets from
    SmallOp to Op, removing the stack offset limit.
    
    Fixes #22888
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Disassembler.c 16.47 KiB