diff options
author | Michaƫl Zasso <targos@protonmail.com> | 2017-06-27 10:53:55 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2017-09-13 17:16:41 +0300 |
commit | dc1996dd1f87ba0e90201ffbc7cb133e2ea6b1b2 (patch) | |
tree | 3d7026b5bc0bcc7c77c6e4b571b020ede26e293e /src/v8abbr.h | |
parent | 31ce2c1b92855726a5d9ac035e41ef430379e40e (diff) |
src: fix SmartOS compilation
Refs: https://github.com/nodejs/node-v8/issues/8
PR-URL: https://github.com/nodejs/node/pull/14730
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'src/v8abbr.h')
-rw-r--r-- | src/v8abbr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/v8abbr.h b/src/v8abbr.h index 5c5e7e24493..8981126f273 100644 --- a/src/v8abbr.h +++ b/src/v8abbr.h @@ -85,14 +85,14 @@ #define V8_OFF_FUNC_SHARED \ V8_OFF_HEAP(V8DBG_CLASS_JSFUNCTION__SHARED__SHAREDFUNCTIONINFO) -#define V8_OFF_SHARED_NAME \ - V8_OFF_HEAP(V8DBG_CLASS_SHAREDFUNCTIONINFO__NAME__OBJECT) +#define V8_OFF_RAW_NAME \ + V8_OFF_HEAP(V8DBG_CLASS_SHAREDFUNCTIONINFO__RAW_NAME__OBJECT) #define V8_OFF_SHARED_IDENT \ V8_OFF_HEAP(V8DBG_CLASS_SHAREDFUNCTIONINFO__FUNCTION_IDENTIFIER__OBJECT) #define V8_OFF_SHARED_SCRIPT \ V8_OFF_HEAP(V8DBG_CLASS_SHAREDFUNCTIONINFO__SCRIPT__OBJECT) #define V8_OFF_SHARED_FUNTOK \ - V8_OFF_HEAP(V8DBG_CLASS_SHAREDFUNCTIONINFO__FUNCTION_TOKEN_POSITION__SMI) + V8_OFF_HEAP(V8DBG_CLASS_SHAREDFUNCTIONINFO__FUNCTION_TOKEN_POSITION__INT) #define V8_OFF_SCRIPT_NAME \ V8_OFF_HEAP(V8DBG_CLASS_SCRIPT__NAME__OBJECT) #define V8_OFF_SCRIPT_LENDS \ |