mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Correct comment explaining env flags [ci skip]
We use 4 values for env flags now, which also shifted over the frame flags by one bit.
This commit is contained in:
parent
509d0a9299
commit
b8247a1669
1 changed files with 2 additions and 2 deletions
|
@ -1232,10 +1232,10 @@ typedef rb_control_frame_t *
|
||||||
|
|
||||||
enum vm_frame_env_flags {
|
enum vm_frame_env_flags {
|
||||||
/* Frame/Environment flag bits:
|
/* Frame/Environment flag bits:
|
||||||
* MMMM MMMM MMMM MMMM ____ _FFF FFFF EEEX (LSB)
|
* MMMM MMMM MMMM MMMM ____ FFFF FFFE EEEX (LSB)
|
||||||
*
|
*
|
||||||
* X : tag for GC marking (It seems as Fixnum)
|
* X : tag for GC marking (It seems as Fixnum)
|
||||||
* EEE : 3 bits Env flags
|
* EEE : 4 bits Env flags
|
||||||
* FF..: 7 bits Frame flags
|
* FF..: 7 bits Frame flags
|
||||||
* MM..: 15 bits frame magic (to check frame corruption)
|
* MM..: 15 bits frame magic (to check frame corruption)
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue