Skip to content

Commit

Permalink
Merge pull request #920 from jstuder-gh/mv_templates_right_location
Browse files Browse the repository at this point in the history
Move some exprjit templates to the proper order
  • Loading branch information
jnthn committed Aug 5, 2018
2 parents 700ce36 + b66be6e commit 7cab426
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions src/jit/core_templates.expr
Expand Up @@ -2033,18 +2033,6 @@
(carg (tc) ptr)
(carg $1 ptr)) int_sz)
(const 0 int_sz)))))
(template: coerce_iu (copy $1))

(template: coerce_ui (copy $1))

(template: decont_u!
(callv (^func &MVM_6model_container_decont_u)
(arglist
(carg (tc) ptr)
(carg $1 ptr)
(carg $0 ptr))))
(template: lastexpayload
(^getf (tc) MVMThreadContext last_payload))

(template: fc
(call (^func &MVM_string_fc)
Expand All @@ -2067,6 +2055,19 @@
(carg (tc) ptr)
(carg $1 ptr)) int_sz))

(template: coerce_iu (copy $1))

(template: coerce_ui (copy $1))

(template: decont_u!
(callv (^func &MVM_6model_container_decont_u)
(arglist
(carg (tc) ptr)
(carg $1 ptr)
(carg $0 ptr))))
(template: lastexpayload
(^getf (tc) MVMThreadContext last_payload))

(template: unicmp_s
(call (^func &MVM_unicode_string_compare)
(arglist
Expand Down

0 comments on commit 7cab426

Please sign in to comment.