diff options
author | Jochen Eisinger <jochen@chromium.org> | 2015-05-13 02:31:02 +0200 |
---|---|---|
committer | Jochen Eisinger <jochen@chromium.org> | 2015-05-13 02:31:02 +0200 |
commit | 2a47d8d6eef22d117ac3475e84c3a52b5ca41a3c (patch) | |
tree | 99e4369c72e5edb5310d25bfc9d8d6b2533bd20b /core/src | |
parent | b2aa54381811383d4a86fbe7b194907c33e8dcc1 (diff) | |
download | pdfium-2a47d8d6eef22d117ac3475e84c3a52b5ca41a3c.tar.xz |
Set pointers in internal fields directly instead of wrapping them
The internal fields are scanned by the garbage collector, so they can't contain arbitrary data. However, aligned pointers are supported by the V8 GC, so the V8
API allows for setting a pointer directly instead of wrapping it in an External
container.
Not only is this faster, but it's also required for the new v8::Global API which
I'm going to update to in a follow-up patch.
R=tsepez@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1139853003
Diffstat (limited to 'core/src')
0 files changed, 0 insertions, 0 deletions