diff options
| author | KOBAYASHI Shuji <[email protected]> | 2019-08-20 18:49:55 +0900 |
|---|---|---|
| committer | KOBAYASHI Shuji <[email protected]> | 2019-08-20 18:49:55 +0900 |
| commit | 8157672a29e50756b9709022e8f66da73cd92c2b (patch) | |
| tree | 3fbec1e5e92d6c1a5fc3f28d9f649f2a17ea2fdc /src/error.c | |
| parent | b836fd05dd084ac9e61c918cf1757b425c4d271b (diff) | |
| download | mruby-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/error.c')
0 files changed, 0 insertions, 0 deletions
