| Index: src/mips/codegen-mips.cc
|
| diff --git a/src/mips/codegen-mips.cc b/src/mips/codegen-mips.cc
|
| index 51ad4743de1ee0feada8f6aabeb8a7226a3fd631..d237d4adc7b78f5dde5285493fa101405c758be9 100644
|
| --- a/src/mips/codegen-mips.cc
|
| +++ b/src/mips/codegen-mips.cc
|
| @@ -467,29 +467,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);
|
|
|