diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-12-07 13:56:11 -0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-12-07 13:56:11 -0800 |
commit | c30f1137121315b0d3641af6dc61e3b047f940e1 (patch) | |
tree | f118eaf670505e6a63f28bc8df845520f67adc55 /deps/v8/src/globals.h | |
parent | 5b8c62f7d12c1c5a553e765ba05bbd8a7e17ee47 (diff) | |
download | node-new-c30f1137121315b0d3641af6dc61e3b047f940e1.tar.gz |
Upgrade V8 to 3.0.0
Diffstat (limited to 'deps/v8/src/globals.h')
-rw-r--r-- | deps/v8/src/globals.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/v8/src/globals.h b/deps/v8/src/globals.h index 88c3e780d9..b56b835b96 100644 --- a/deps/v8/src/globals.h +++ b/deps/v8/src/globals.h @@ -147,13 +147,16 @@ typedef byte* Address; #ifdef _MSC_VER #define V8_UINT64_C(x) (x ## UI64) #define V8_INT64_C(x) (x ## I64) +#define V8_INTPTR_C(x) (x ## I64) #define V8_PTR_PREFIX "ll" #else // _MSC_VER #define V8_UINT64_C(x) (x ## UL) #define V8_INT64_C(x) (x ## L) +#define V8_INTPTR_C(x) (x ## L) #define V8_PTR_PREFIX "l" #endif // _MSC_VER #else // V8_HOST_ARCH_64_BIT +#define V8_INTPTR_C(x) (x) #define V8_PTR_PREFIX "" #endif // V8_HOST_ARCH_64_BIT @@ -223,6 +226,7 @@ const int kBinary32MinExponent = 0x01; const int kBinary32MantissaBits = 23; const int kBinary32ExponentShift = 23; + // The expression OFFSET_OF(type, field) computes the byte-offset // of the specified field relative to the containing type. This // corresponds to 'offsetof' (in stddef.h), except that it doesn't |