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
64c2ea3f
Unverified
Commit
64c2ea3f
authored
Apr 06, 2019
by
Yukihiro "Matz" Matsumoto
Committed by
GitHub
Apr 06, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4361 from shuujii/remove-unused-mrb_proc_cfunc_p
Remove unused `mrb_proc_cfunc_p()`
parents
293a7b2a
271a91c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
src/proc.c
src/proc.c
+0
-6
src/vm.c
src/vm.c
+1
-1
No files found.
src/proc.c
View file @
64c2ea3f
...
...
@@ -213,12 +213,6 @@ mrb_proc_init_copy(mrb_state *mrb, mrb_value self)
return
self
;
}
int
mrb_proc_cfunc_p
(
struct
RProc
*
p
)
{
return
MRB_PROC_CFUNC_P
(
p
);
}
/* 15.2.17.4.2 */
static
mrb_value
proc_arity
(
mrb_state
*
mrb
,
mrb_value
self
)
...
...
src/vm.c
View file @
64c2ea3f
...
...
@@ -1004,7 +1004,7 @@ void mrb_hash_check_kdict(mrb_state *mrb, mrb_value self);
MRB_API
mrb_value
mrb_vm_exec
(
mrb_state
*
mrb
,
struct
RProc
*
proc
,
mrb_code
*
pc
)
{
/* mrb_assert(
mrb_proc_cfunc_p
(proc)) */
/* mrb_assert(
MRB_PROC_CFUNC_P
(proc)) */
mrb_code
*
pc0
=
pc
;
mrb_irep
*
irep
=
proc
->
body
.
irep
;
mrb_value
*
pool
=
irep
->
pool
;
...
...
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