Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
486c9d90
Unverified
Commit
486c9d90
authored
Oct 29, 2018
by
take-cheeze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix codedumper
parent
7d51a7bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
22 deletions
+22
-22
src/codedump.c
src/codedump.c
+22
-22
No files found.
src/codedump.c
View file @
486c9d90
...
...
@@ -328,38 +328,38 @@ codedump(mrb_state *mrb, mrb_irep *irep)
CASE
(
OP_ALIAS
,
BB
)
:
printf
(
"OP_ALIAS
\t
:%s
\t
%s
\n
"
,
mrb_sym2name
(
mrb
,
irep
->
syms
[
a
]),
mrb_sym2name
(
mrb
,
irep
->
syms
[
b
]));
break
;
CASE
(
OP_ADD
,
B
B
)
:
printf
(
"OP_ADD
\t
R%d
\t
:%s
\t\n
"
,
a
,
mrb_sym2name
(
mrb
,
irep
->
syms
[
b
])
);
CASE
(
OP_ADD
,
B
)
:
printf
(
"OP_ADD
\t
R%d
\t
\n
"
,
a
);
break
;
CASE
(
OP_ADDI
,
BB
B
)
:
printf
(
"OP_ADDI
\t
R%d
\t
:%s
\t
%d
\n
"
,
a
,
mrb_sym2name
(
mrb
,
irep
->
syms
[
b
]),
c
);
CASE
(
OP_ADDI
,
BB
)
:
printf
(
"OP_ADDI
\t
R%d
\t
%d
\n
"
,
a
,
b
);
break
;
CASE
(
OP_SUB
,
B
B
)
:
printf
(
"OP_SUB
\t
R%d
\t
:%s
\t\n
"
,
a
,
mrb_sym2name
(
mrb
,
irep
->
syms
[
b
])
);
CASE
(
OP_SUB
,
B
)
:
printf
(
"OP_SUB
\t
R%d
\t
\n
"
,
a
);
break
;
CASE
(
OP_SUBI
,
BB
B
)
:
printf
(
"OP_SUBI
\t
R%d
\t
:%s
\t
%d
\n
"
,
a
,
mrb_sym2name
(
mrb
,
irep
->
syms
[
b
]),
c
);
CASE
(
OP_SUBI
,
BB
)
:
printf
(
"OP_SUBI
\t
R%d
\t
%d
\n
"
,
a
,
b
);
break
;
CASE
(
OP_MUL
,
B
B
)
:
printf
(
"OP_MUL
\t
R%d
\t
:%s
\t\n
"
,
a
,
mrb_sym2name
(
mrb
,
irep
->
syms
[
b
])
);
CASE
(
OP_MUL
,
B
)
:
printf
(
"OP_MUL
\t
R%d
\t
\n
"
,
a
);
break
;
CASE
(
OP_DIV
,
B
B
)
:
printf
(
"OP_DIV
\t
R%d
\t
:%s
\t\n
"
,
a
,
mrb_sym2name
(
mrb
,
irep
->
syms
[
b
])
);
CASE
(
OP_DIV
,
B
)
:
printf
(
"OP_DIV
\t
R%d
\t
\n
"
,
a
);
break
;
CASE
(
OP_LT
,
B
B
)
:
printf
(
"OP_LT
\t\t
R%d
\t
:%s
\t\n
"
,
a
,
mrb_sym2name
(
mrb
,
irep
->
syms
[
b
])
);
CASE
(
OP_LT
,
B
)
:
printf
(
"OP_LT
\t\t
R%d
\t
\n
"
,
a
);
break
;
CASE
(
OP_LE
,
B
B
)
:
printf
(
"OP_LE
\t\t
R%d
\t
:%s
\t\n
"
,
a
,
mrb_sym2name
(
mrb
,
irep
->
syms
[
b
])
);
CASE
(
OP_LE
,
B
)
:
printf
(
"OP_LE
\t\t
R%d
\t
\n
"
,
a
);
break
;
CASE
(
OP_GT
,
B
B
)
:
printf
(
"OP_GT
\t\t
R%d
\t
:%s
\t\n
"
,
a
,
mrb_sym2name
(
mrb
,
irep
->
syms
[
b
])
);
CASE
(
OP_GT
,
B
)
:
printf
(
"OP_GT
\t\t
R%d
\t
\n
"
,
a
);
break
;
CASE
(
OP_GE
,
B
B
)
:
printf
(
"OP_GE
\t\t
R%d
\t
:%s
\t\n
"
,
a
,
mrb_sym2name
(
mrb
,
irep
->
syms
[
b
])
);
CASE
(
OP_GE
,
B
)
:
printf
(
"OP_GE
\t\t
R%d
\t
\n
"
,
a
);
break
;
CASE
(
OP_EQ
,
B
B
)
:
printf
(
"OP_EQ
\t\t
R%d
\t
:%s
\t\n
"
,
a
,
mrb_sym2name
(
mrb
,
irep
->
syms
[
b
])
);
CASE
(
OP_EQ
,
B
)
:
printf
(
"OP_EQ
\t\t
R%d
\t
\n
"
,
a
);
break
;
CASE
(
OP_ARRAY
,
BB
)
:
printf
(
"OP_ARRAY
\t
R%d
\t
%d
\t
"
,
a
,
b
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment