summaryrefslogtreecommitdiffhomepage
path: root/src/debug.c
diff options
context:
space:
mode:
authorKOBAYASHI Shuji <[email protected]>2019-08-20 18:49:55 +0900
committerKOBAYASHI Shuji <[email protected]>2019-08-20 18:49:55 +0900
commit8157672a29e50756b9709022e8f66da73cd92c2b (patch)
tree3fbec1e5e92d6c1a5fc3f28d9f649f2a17ea2fdc /src/debug.c
parentb836fd05dd084ac9e61c918cf1757b425c4d271b (diff)
downloadmruby-8157672a29e50756b9709022e8f66da73cd92c2b.tar.gz
mruby-8157672a29e50756b9709022e8f66da73cd92c2b.zip
Use `RBasic` padding for embedded string on 64-bit CPU
On 64-bit CPU, there is padding in `RBasic`, so reorder the fields and use it as buffer of embedded string. This change allows 4 more bytes to be embedded on 64-bit CPU. However, an incompatibility will occur if `RString::as::ary` is accessed directly because `RString` structure has changed.
Diffstat (limited to 'src/debug.c')
0 files changed, 0 insertions, 0 deletions