Format code.
This commit is contained in:
parent
c04997ad17
commit
5e93fa1963
src/chalk
@ -144,7 +144,7 @@ module Chalk
|
||||
end
|
||||
|
||||
class ReturnInstruction < Instruction
|
||||
def initialize()
|
||||
def initialize
|
||||
end
|
||||
|
||||
def to_s(io)
|
||||
|
@ -16,7 +16,7 @@ module Chalk
|
||||
end
|
||||
|
||||
private def optimize!
|
||||
block_boundaries = [ @instructions.size ]
|
||||
block_boundaries = [@instructions.size]
|
||||
@instructions.each_with_index do |inst, i|
|
||||
if inst.is_a?(JumpRelativeInstruction)
|
||||
block_boundaries << (inst.offset + i)
|
||||
|
Loading…
Reference in New Issue
Block a user