Skip to content

Commit

Permalink
Fixed VM.backtrace.
Browse files Browse the repository at this point in the history
  • Loading branch information
brixen committed May 15, 2016
1 parent 66cd681 commit 7458cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/vm.rb
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ class Rubinius::VM
# running information like locals, self, etc.
#
def self.backtrace(frames_to_skip, *args)
Rubinius.invoke_primitive :vm_backtrace, Integer(frames_to_skip)
Rubinius.invoke_primitive :vm_backtrace, Integer(frames_to_skip) + 1
end

def self.stats

0 comments on commit 7458cd0

Please sign in to comment.