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
c6b8b58e
Unverified
Commit
c6b8b58e
authored
Jul 17, 2020
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix `memsize_of` for fiber objects; #5032
parent
7f66cf7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mrbgems/mruby-objectspace/src/mruby_objectspace.c
mrbgems/mruby-objectspace/src/mruby_objectspace.c
+2
-2
No files found.
mrbgems/mruby-objectspace/src/mruby_objectspace.c
View file @
c6b8b58e
...
@@ -345,8 +345,8 @@ os_memsize_of_object(mrb_state* mrb, mrb_value obj, mrb_value recurse, mrb_int*
...
@@ -345,8 +345,8 @@ os_memsize_of_object(mrb_state* mrb, mrb_value obj, mrb_value recurse, mrb_int*
sizeof
(
struct
mrb_context
)
+
sizeof
(
struct
mrb_context
)
+
sizeof
(
struct
RProc
*
)
*
f
->
cxt
->
esize
+
sizeof
(
struct
RProc
*
)
*
f
->
cxt
->
esize
+
sizeof
(
uint16_t
*
)
*
f
->
cxt
->
rsize
+
sizeof
(
uint16_t
*
)
*
f
->
cxt
->
rsize
+
stack_size
+
s
izeof
(
mrb_value
)
*
s
tack_size
+
ci_size
;
sizeof
(
mrb_callinfo
)
*
ci_size
;
break
;
break
;
}
}
case
MRB_TT_ISTRUCT
:
case
MRB_TT_ISTRUCT
:
...
...
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