Index: src/arm/codegen-arm.cc |
diff --git a/src/arm/codegen-arm.cc b/src/arm/codegen-arm.cc |
index 689de9f4c64c34e50399de8fb6bb75e921d24672..047003531b35c2098d6230786dba3a4165b1cc06 100644 |
--- a/src/arm/codegen-arm.cc |
+++ b/src/arm/codegen-arm.cc |
@@ -615,29 +615,6 @@ static byte* GetNoCodeAgeSequence(uint32_t* length) { |
} |
-byte* Code::FindPlatformCodeAgeSequence() { |
- byte* start = instruction_start(); |
- uint32_t young_length; |
- byte* young_sequence = GetNoCodeAgeSequence(&young_length); |
- if (!memcmp(start, young_sequence, young_length) || |
- Memory::uint32_at(start) == kCodeAgePatchFirstInstruction) { |
- return start; |
- } else { |
- byte* start_after_strict = NULL; |
- if (kind() == FUNCTION) { |
- start_after_strict = start + kSizeOfFullCodegenStrictModePrologue; |
- } else { |
- ASSERT(kind() == OPTIMIZED_FUNCTION); |
- start_after_strict = start + kSizeOfOptimizedStrictModePrologue; |
- } |
- ASSERT(!memcmp(start_after_strict, young_sequence, young_length) || |
- Memory::uint32_at(start_after_strict) == |
- kCodeAgePatchFirstInstruction); |
- return start_after_strict; |
- } |
-} |
- |
- |
bool Code::IsYoungSequence(byte* sequence) { |
uint32_t young_length; |
byte* young_sequence = GetNoCodeAgeSequence(&young_length); |