diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-02-26 04:21:23 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-02-26 04:30:44 +0400 |
commit | f80f3c5f62a3955636c1af1872ef9539a0b01cb0 (patch) | |
tree | 93051d7fd626c568dd32b41168bae5223c3917b4 /src/v8abbr.h | |
parent | 51f6e6a9b39c15fcfd34976005fc8496430545e1 (diff) |
sunos: unbreak build after v8 downgrade
Commit 3d67f89 ("fix generation of v8 constants on freebsd") is an
unfortunate victim of this rollback.
Revert "dtrace: fix generation of v8 constants on freebsd"
Revert "dtrace: More style"
Revert "dtrace: Make D style more D-ish"
Revert "dtrace: x64 ustack helper"
Revert "dtrace: fix style in ustack helper"
Revert "dtrace: SeqAsciiString was renamed to SeqOneByteString in v8"
This reverts commit 3d67f895521cf905922d20af9b03e5c73c363868.
This reverts commit 321b8eec08d445d60a4149bfa71959936fc189c6.
This reverts commit 38df9d51a229e1d74b2d1c2835353f07c784cfc3.
This reverts commit f9afb3f01002e5667a0df80ee784af0dfe2305c2.
This reverts commit 13296e4b13b5ed192c4faa6501f3efec2ded8ac1.
This reverts commit 3b715edda97c8edfd95cc1fb8d31f92cef6bcc52.
Diffstat (limited to 'src/v8abbr.h')
-rw-r--r-- | src/v8abbr.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/v8abbr.h b/src/v8abbr.h index 95ddb6a6611..ac4a1693952 100644 --- a/src/v8abbr.h +++ b/src/v8abbr.h @@ -7,9 +7,9 @@ #define V8_ABBR_H /* Frame pointer offsets */ -#define V8_OFF_FP_FUNC V8DBG_OFF_FP_FUNCTION -#define V8_OFF_FP_CONTEXT V8DBG_OFF_FP_CONTEXT -#define V8_OFF_FP_MARKER V8DBG_OFF_FP_MARKER +#define V8_OFF_FP_FUNC ((uint32_t)V8DBG_OFF_FP_FUNCTION) +#define V8_OFF_FP_CONTEXT ((uint32_t)V8DBG_OFF_FP_CONTEXT) +#define V8_OFF_FP_MARKER ((uint32_t)V8DBG_OFF_FP_MARKER) /* Stack frame types */ #define V8_FT_ENTRY V8DBG_FRAMETYPE_ENTRYFRAME @@ -22,9 +22,9 @@ #define V8_FT_ADAPTOR V8DBG_FRAMETYPE_ARGUMENTSADAPTORFRAME /* Identification masks and tags */ -#define V8_SmiTagMask (V8DBG_SMITAGMASK) -#define V8_SmiTag (V8DBG_SMITAG) -#define V8_SmiValueShift (V8DBG_SMISHIFTSIZE + V8DBG_SMITAGMASK) +#define V8_SmiTagMask V8DBG_SMITAGMASK +#define V8_SmiTag V8DBG_SMITAG +#define V8_SmiValueShift V8_SmiTagMask #define V8_HeapObjectTagMask V8DBG_HEAPOBJECTTAGMASK #define V8_HeapObjectTag V8DBG_HEAPOBJECTTAG @@ -45,7 +45,7 @@ #define V8_IT_CODE V8DBG_TYPE_CODE__CODE_TYPE /* Node-specific offsets */ -#define NODE_OFF_EXTSTR_DATA sizeof(void*) +#define NODE_OFF_EXTSTR_DATA 0x4 /* Heap class->field offsets */ #define V8_OFF_HEAP(off) ((off) - 1) @@ -67,7 +67,7 @@ #define V8_OFF_STR_LENGTH \ V8_OFF_HEAP(V8DBG_CLASS_STRING__LENGTH__SMI) #define V8_OFF_STR_CHARS \ - V8_OFF_HEAP(V8DBG_CLASS_SEQONEBYTESTRING__CHARS__CHAR) + V8_OFF_HEAP(V8DBG_CLASS_SEQASCIISTRING__CHARS__CHAR) #define V8_OFF_CONSSTR_CAR \ V8_OFF_HEAP(V8DBG_CLASS_CONSSTRING__FIRST__STRING) #define V8_OFF_CONSSTR_CDR \ |