diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-04-09 21:37:28 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-04-09 21:37:28 +0900 |
| commit | ef9daf7ef37a4ad9469a260ea52aa014bdf6549e (patch) | |
| tree | e199ab1c7621f63ac64ae858f8e194181f54e7ee /src/opcode.h | |
| parent | b531ae93bfa94dbe258b8b04c5c5583eb9d4a7b1 (diff) | |
| download | mruby-ef9daf7ef37a4ad9469a260ea52aa014bdf6549e.tar.gz mruby-ef9daf7ef37a4ad9469a260ea52aa014bdf6549e.zip | |
fixed typos in operand descriptions
Diffstat (limited to 'src/opcode.h')
| -rw-r--r-- | src/opcode.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/opcode.h b/src/opcode.h index f87611119..7b5196d31 100644 --- a/src/opcode.h +++ b/src/opcode.h @@ -73,8 +73,8 @@ enum { OP_SETCV,/* A Bx cvset(Sym(Bx),R(A)) */ OP_GETCONST,/* A Bx R(A) := constget(Sym(Bx)) */ OP_SETCONST,/* A Bx constset(Sym(Bx),R(A)) */ - OP_GETMCNST,/* A Bx R(A) := R(A)::Sym(B) */ - OP_SETMCNST,/* A Bx R(A+1)::Sym(B) := R(A) */ + OP_GETMCNST,/* A Bx R(A) := R(A)::Sym(Bx) */ + OP_SETMCNST,/* A Bx R(A+1)::Sym(Bx) := R(A) */ OP_GETUPVAR,/* A B C R(A) := uvget(B,C) */ OP_SETUPVAR,/* A B C uvset(B,C,R(A)) */ @@ -125,7 +125,7 @@ enum { OP_STRCAT,/* A B str_cat(R(A),R(B)) */ OP_HASH,/* A B C R(A) := hash_new(R(B),R(B+1)..R(B+C)) */ - OP_LAMBDA,/* A Bz Cz R(A) := lambda(SEQ[Bz],Cm) */ + OP_LAMBDA,/* A Bz Cz R(A) := lambda(SEQ[Bz],Cz) */ OP_RANGE,/* A B C R(A) := range_new(R(B),R(B+1),C) */ OP_OCLASS,/* A R(A) := ::Object */ |
