Project

General

Profile

« Previous | Next » 

Revision 5c15850e

Added by alanwu (Alan Wu) about 4 years ago

Use jit_guard_known_klass() for hashes in opt_aref

The old heap object check is not as efficient as the one in
jit_guard_known_klass(). Also, the old code saves cfp->sp after popping
the operands off the stack, which might cause the operands to be not
marked by the GC in some circumstances.