Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions core/vm.rb
Original file line number Diff line number Diff line change
@@ -5,11 +5,8 @@ class Rubinius::VM
# Rubinius::VariableScope object that can be used to access the frames
# running information like locals, self, etc.
#
def self.backtrace(frames_to_skip)
Rubinius.primitive :vm_backtrace

# Add the + 1 to skip this frame
backtrace Integer(frames_to_skip) + 1
def self.backtrace(frames_to_skip, *args)
Rubinius.invoke_primitive :vm_backtrace, Integer(frames_to_skip)
end

def self.stats

0 comments on commit 7d53708

Please sign in to comment.