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
4ab70294
Commit
4ab70294
authored
8 years ago
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert
642ab8ec
; ref #3422
Also fix #3499. The issue was solved by #3462.
parent
94395e81
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
src/vm.c
src/vm.c
+0
-3
No files found.
src/vm.c
View file @
4ab70294
...
@@ -289,7 +289,6 @@ ecall(mrb_state *mrb, int i)
...
@@ -289,7 +289,6 @@ ecall(mrb_state *mrb, int i)
mrb_value
*
self
=
mrb
->
c
->
stack
;
mrb_value
*
self
=
mrb
->
c
->
stack
;
struct
RObject
*
exc
;
struct
RObject
*
exc
;
int
cioff
;
int
cioff
;
ptrdiff_t
nstk
;
if
(
i
<
0
)
return
;
if
(
i
<
0
)
return
;
if
(
mrb
->
c
->
ci
-
mrb
->
c
->
cibase
>
MRB_FUNCALL_DEPTH_MAX
)
{
if
(
mrb
->
c
->
ci
-
mrb
->
c
->
cibase
>
MRB_FUNCALL_DEPTH_MAX
)
{
...
@@ -301,7 +300,6 @@ ecall(mrb_state *mrb, int i)
...
@@ -301,7 +300,6 @@ ecall(mrb_state *mrb, int i)
mrb
->
c
->
ci
->
eidx
=
i
;
mrb
->
c
->
ci
->
eidx
=
i
;
cioff
=
mrb
->
c
->
ci
-
mrb
->
c
->
cibase
;
cioff
=
mrb
->
c
->
ci
-
mrb
->
c
->
cibase
;
ci
=
cipush
(
mrb
);
ci
=
cipush
(
mrb
);
nstk
=
ci
->
stackent
-
mrb
->
c
->
stbase
;
ci
->
stackent
=
mrb
->
c
->
stack
;
ci
->
stackent
=
mrb
->
c
->
stack
;
ci
->
mid
=
ci
[
-
1
].
mid
;
ci
->
mid
=
ci
[
-
1
].
mid
;
ci
->
acc
=
CI_ACC_SKIP
;
ci
->
acc
=
CI_ACC_SKIP
;
...
@@ -313,7 +311,6 @@ ecall(mrb_state *mrb, int i)
...
@@ -313,7 +311,6 @@ ecall(mrb_state *mrb, int i)
exc
=
mrb
->
exc
;
mrb
->
exc
=
0
;
exc
=
mrb
->
exc
;
mrb
->
exc
=
0
;
mrb_run
(
mrb
,
p
,
*
self
);
mrb_run
(
mrb
,
p
,
*
self
);
mrb
->
c
->
ensure
[
i
]
=
NULL
;
mrb
->
c
->
ensure
[
i
]
=
NULL
;
ci
->
stackent
=
mrb
->
c
->
stbase
+
nstk
;
mrb
->
c
->
ci
=
mrb
->
c
->
cibase
+
cioff
;
mrb
->
c
->
ci
=
mrb
->
c
->
cibase
+
cioff
;
if
(
!
mrb
->
exc
)
mrb
->
exc
=
exc
;
if
(
!
mrb
->
exc
)
mrb
->
exc
=
exc
;
}
}
...
...
This diff is collapsed.
Click to expand it.
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