Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index e07b6c056b681275dbe04abd32aaa065035f4633..eed4d02e3a1ee580d72cb685e818c98016b7ddc8 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -4611,7 +4611,8 @@ class DeoptimizationInputData: public FixedArray { |
static const int kTranslationIndexOffset = 1; |
static const int kArgumentsStackHeightOffset = 2; |
static const int kPcOffset = 3; |
- static const int kDeoptEntrySize = 4; |
+ static const int kModeOffset = 4; |
+ static const int kDeoptEntrySize = 5; |
// Simple element accessors. |
#define DEFINE_ELEMENT_ACCESSORS(name, type) \ |
@@ -4643,6 +4644,7 @@ class DeoptimizationInputData: public FixedArray { |
DEFINE_ENTRY_ACCESSORS(TranslationIndex, Smi) |
DEFINE_ENTRY_ACCESSORS(ArgumentsStackHeight, Smi) |
DEFINE_ENTRY_ACCESSORS(Pc, Smi) |
+ DEFINE_ENTRY_ACCESSORS(Mode, Smi) |
#undef DEFINE_ENTRY_ACCESSORS |
@@ -5169,7 +5171,7 @@ class Code: public HeapObject { |
// compilation stub. |
static void MakeCodeAgeSequenceYoung(byte* sequence); |
void MakeOlder(MarkingParity); |
- static bool IsYoungSequence(byte* sequence); |
+ static bool IsYoungSequence(byte* sequence, bool thumb_mode = false); |
bool IsOld(); |
int GetAge(); |
@@ -5312,12 +5314,14 @@ class Code: public HeapObject { |
static void GetCodeAgeAndParity(Code* code, Age* age, |
MarkingParity* parity); |
static void GetCodeAgeAndParity(byte* sequence, Age* age, |
- MarkingParity* parity); |
+ MarkingParity* parity, |
+ bool thumb_mode = false); |
static Code* GetCodeAgeStub(Age age, MarkingParity parity); |
// Code aging -- platform-specific |
static void PatchPlatformCodeAge(byte* sequence, Age age, |
- MarkingParity parity); |
+ MarkingParity parity, |
+ bool is_thumb_mode = false); |
DISALLOW_IMPLICIT_CONSTRUCTORS(Code); |
}; |