| Index: src/v8globals.h
|
| ===================================================================
|
| --- src/v8globals.h (revision 8778)
|
| +++ src/v8globals.h (working copy)
|
| @@ -405,12 +405,11 @@
|
| };
|
|
|
|
|
| -// Logging and profiling.
|
| -// A StateTag represents a possible state of the VM. When compiled with
|
| -// ENABLE_VMSTATE_TRACKING, the logger maintains a stack of these.
|
| -// Creating a VMState object enters a state by pushing on the stack, and
|
| -// destroying a VMState object leaves a state by popping the current state
|
| -// from the stack.
|
| +// Logging and profiling. A StateTag represents a possible state of
|
| +// the VM. The logger maintains a stack of these. Creating a VMState
|
| +// object enters a state by pushing on the stack, and destroying a
|
| +// VMState object leaves a state by popping the current state from the
|
| +// stack.
|
|
|
| #define STATE_TAG_LIST(V) \
|
| V(JS) \
|
| @@ -517,6 +516,16 @@
|
| CALL_AS_FUNCTION
|
| };
|
|
|
| +
|
| +static const uint32_t kHoleNanUpper32 = 0x7FFFFFFF;
|
| +static const uint32_t kHoleNanLower32 = 0xFFFFFFFF;
|
| +static const uint32_t kNaNOrInfinityLowerBoundUpper32 = 0x7FF00000;
|
| +
|
| +const uint64_t kHoleNanInt64 =
|
| + (static_cast<uint64_t>(kHoleNanUpper32) << 32) | kHoleNanLower32;
|
| +const uint64_t kLastNonNaNInt64 =
|
| + (static_cast<uint64_t>(kNaNOrInfinityLowerBoundUpper32) << 32);
|
| +
|
| } } // namespace v8::internal
|
|
|
| #endif // V8_V8GLOBALS_H_
|
|
|