Skip to content

Commit

Permalink
[Truffle] Add indicies as comments in ArgumentIndicies to help debugg…
Browse files Browse the repository at this point in the history
…ing.
  • Loading branch information
eregon committed Sep 14, 2016
1 parent 5f5581c commit c9b74c1
Showing 1 changed file with 7 additions and 7 deletions.
Expand Up @@ -23,13 +23,13 @@
public final class RubyArguments {

private enum ArgumentIndicies {
DECLARATION_FRAME,
CALLER_FRAME,
METHOD,
DECLARATION_CONTEXT,
FRAME_ON_STACK_MARKER,
SELF,
BLOCK
DECLARATION_FRAME, // 0
CALLER_FRAME, // 1
METHOD, // 2
DECLARATION_CONTEXT, // 3
FRAME_ON_STACK_MARKER, // 4
SELF, // 5
BLOCK // 6
}

private final static int RUNTIME_ARGUMENT_COUNT = ArgumentIndicies.values().length;
Expand Down

0 comments on commit c9b74c1

Please sign in to comment.