diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-05 09:16:12 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-05 09:16:13 +0900 |
commit | 548cd6e2b51ee0ed7b59799950681d46a43c6c85 (patch) | |
tree | 645005482151c8912fdd0b3300938c298587fe29 | |
parent | 6bb3618f281e1cdbb28fe38ee88287da9b1838e8 (diff) |
Drop default leaf definition and obsoleted comments
leaf is true by default. Other insns are not specifying it explicitly.
Also the comment describing why it was not leaf is outdated.
-rw-r--r-- | insns.def | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -1158,10 +1158,6 @@ opt_eq (CALL_INFO ci, CALL_CACHE cc) (VALUE recv, VALUE obj) (VALUE val) -/* This instruction can compare a string with non-string. This - * (somewhat) coerces the non-string into a string, via a method - * call. */ -// attr bool leaf = true; { val = opt_eq_func(recv, obj, ci, cc); @@ -1176,8 +1172,6 @@ opt_neq (CALL_INFO ci_eq, CALL_CACHE cc_eq, CALL_INFO ci, CALL_CACHE cc) (VALUE recv, VALUE obj) (VALUE val) -/* Same discussion as opt_eq. */ -// attr bool leaf = true; { val = vm_opt_neq(ci, cc, ci_eq, cc_eq, recv, obj); |