Allocate space for the loop table on demand
authorMike Danes <onemihaid@hotmail.com>
Sat, 16 Jun 2018 11:38:36 +0000 (14:38 +0300)
committerMike Danes <onemihaid@hotmail.com>
Sat, 30 Jun 2018 19:31:16 +0000 (22:31 +0300)
commitf75834126bde4e6dbd7f720ed6d94fef18150fa0
treea4a361db39fab4d32607180a3a63e91030017323
parentc2baf04cd2c2211334949ba12df2e49fd9109728
Allocate space for the loop table on demand

Compiler::optLoopTable requires 2.5kbytes (the entire Compiler object is around 7.5kbytes) and it's not used when the method does not contain loops, when optimizations are disabled or when the compiler is used for inlining.
src/jit/compiler.cpp
src/jit/compiler.h
src/jit/optimizer.cpp