Skip to content

Commit

Permalink
Add JIT template for getdynlex
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterDuke17 authored and timo committed Jan 28, 2018
1 parent 8210fb7 commit cde5537
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/jit/core_templates.expr
Expand Up @@ -363,5 +363,12 @@
(carg $2 ptr)
(carg $0 ptr))))

(template: getdynlex
(call (^func &MVM_frame_getdynlex)
(arglist
(carg (tc) ptr)
(carg $1 ptr)
(carg (^caller) ptr)) ptr_sz))

(template: isnull
(or (flagval (zr $1)) (flagval (eq $1 (^vmnull)))))

0 comments on commit cde5537

Please sign in to comment.