Commit 39bcda21 authored by yangguo's avatar yangguo Committed by Commit bot

Assign more bits to safepoint table offset.

1 << 24 is apparently not large enough for some optimized code.

R=jkummerow@chromium.org
BUG=v8:4272
LOG=N

Review URL: https://codereview.chromium.org/1265663002

Cr-Commit-Position: refs/heads/master@{#29909}
parent e31da45e
...@@ -5092,7 +5092,7 @@ class Code: public HeapObject { ...@@ -5092,7 +5092,7 @@ class Code: public HeapObject {
// KindSpecificFlags2 layout (STUB and OPTIMIZED_FUNCTION) // KindSpecificFlags2 layout (STUB and OPTIMIZED_FUNCTION)
static const int kSafepointTableOffsetFirstBit = kIsCrankshaftedBit + 1; static const int kSafepointTableOffsetFirstBit = kIsCrankshaftedBit + 1;
static const int kSafepointTableOffsetBitCount = 24; static const int kSafepointTableOffsetBitCount = 30;
STATIC_ASSERT(kSafepointTableOffsetFirstBit + STATIC_ASSERT(kSafepointTableOffsetFirstBit +
kSafepointTableOffsetBitCount <= 32); kSafepointTableOffsetBitCount <= 32);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment