shaves an instruction off resolve_method

by loading nil directly,  not space first
This commit is contained in:
Torsten Ruger
2018-09-01 11:20:59 +03:00
parent c3b026a180
commit 0a390cc5a9
7 changed files with 61 additions and 66 deletions

View File

@ -45,9 +45,8 @@ module Mom
add_code while_start_label
space! << Parfait.object_space
space << space[:nil_object]
space - callable_method
object! << Parfait.object_space.nil_object
object - callable_method
if_zero exit_label
name! << callable_method[:name]