Skip to content

Method call in method body (e.g: attr_accessor) causes "nested" calls #9

@vidarh

Description

@vidarh
class Foo
  attr_accessor :seq
end

the attr_accessor bit turns into:

    # callm :self.:attr_accessor
    subl    $20, %esp
    movl    $2, %ebx
    movl    Foo, %eax
    movl    %eax, (%esp)
    movl    $3481, 4(%esp)
    movl    (%eax), %edx
    movl    12(%edx), %eax
    call    *%eax
    addl    $20, %esp
    # callm self.attr_accessor END
    call    *%eax

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions