Reviewers: Jakob,

Description:
Assign more bits to safepoint table offset.

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

[email protected]
BUG=v8:4272
LOG=N

Please review this at https://codereview.chromium.org/1265663002/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+1, -1 lines):
  M src/objects.h


Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index a4b3e4f3da762aa9a08f4e377a54cad6e505c85e..20342f5e108fa7fd6b85da3f3b48d899b65cedb7 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -5092,7 +5092,7 @@ class Code: public HeapObject {

   // KindSpecificFlags2 layout (STUB and OPTIMIZED_FUNCTION)
   static const int kSafepointTableOffsetFirstBit = kIsCrankshaftedBit + 1;
-  static const int kSafepointTableOffsetBitCount = 24;
+  static const int kSafepointTableOffsetBitCount = 31;

   STATIC_ASSERT(kSafepointTableOffsetFirstBit +
                 kSafepointTableOffsetBitCount <= 32);


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to