Skip to content

Commit

Permalink
Emit Deopt Annotations For smrt_strify/smrt_numify
Browse files Browse the repository at this point in the history
These have to be present so that these ops can
be turned into a method call that's supposed to
be inlinable.
  • Loading branch information
timo committed Jan 24, 2019
1 parent f30a806 commit a2f1cd4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/core/oplist
Expand Up @@ -181,8 +181,8 @@ coerce_is w(str) r(int64) :pure
coerce_ns w(str) r(num64) :pure
coerce_si w(int64) r(str) :pure
coerce_sn w(num64) r(str) :pure
smrt_numify w(num64) r(obj) :pure :invokish :maycausedeopt :specializable
smrt_strify w(str) r(obj) :pure :invokish :maycausedeopt :specializable
smrt_numify w(num64) r(obj) :pure :invokish :deoptallpoint :deoptonepoint :maycausedeopt :specializable
smrt_strify w(str) r(obj) :pure :invokish :deoptallpoint :deoptonepoint :maycausedeopt :specializable
prepargs +a callsite :predeoptonepoint
arg_i *a int16 r(int64)
arg_n *a int16 r(num64)
Expand Down
4 changes: 2 additions & 2 deletions src/core/ops.c
Expand Up @@ -1880,7 +1880,7 @@ static const MVMOpInfo MVM_op_infos[] = {
" ",
2,
1,
0,
3,
1,
0,
0,
Expand All @@ -1895,7 +1895,7 @@ static const MVMOpInfo MVM_op_infos[] = {
" ",
2,
1,
0,
3,
1,
0,
0,
Expand Down

0 comments on commit a2f1cd4

Please sign in to comment.