diff --git a/src/mips/assembler-mips-inl.h b/src/mips/assembler-mips-inl.h index 3e726a7545..123e292828 100644 --- a/src/mips/assembler-mips-inl.h +++ b/src/mips/assembler-mips-inl.h @@ -292,6 +292,17 @@ bool RelocInfo::IsPatchedDebugBreakSlotSequence() { } +Code* RelocInfo::code_age_stub() { + UNIMPLEMENTED(); + return NULL; +} + + +void RelocInfo::set_code_age_stub(Code* stub) { + UNIMPLEMENTED(); +} + + void RelocInfo::Visit(ObjectVisitor* visitor) { RelocInfo::Mode mode = rmode(); if (mode == RelocInfo::EMBEDDED_OBJECT) { diff --git a/src/mips/builtins-mips.cc b/src/mips/builtins-mips.cc index 0342e6505d..5a21230c91 100644 --- a/src/mips/builtins-mips.cc +++ b/src/mips/builtins-mips.cc @@ -1255,6 +1255,25 @@ void Builtins::Generate_LazyRecompile(MacroAssembler* masm) { } +// Just a dummy for now, so snapshot generation works. +static void GenerateMakeCodeYoungAgainCommon(MacroAssembler* masm) { + __ Ret(); +} + + +#define DEFINE_CODE_AGE_BUILTIN_GENERATOR(C) \ +void Builtins::Generate_Make##C##CodeYoungAgainEvenMarking( \ + MacroAssembler* masm) { \ + GenerateMakeCodeYoungAgainCommon(masm); \ +} \ +void Builtins::Generate_Make##C##CodeYoungAgainOddMarking( \ + MacroAssembler* masm) { \ + GenerateMakeCodeYoungAgainCommon(masm); \ +} +CODE_AGE_LIST(DEFINE_CODE_AGE_BUILTIN_GENERATOR) +#undef DEFINE_CODE_AGE_BUILTIN_GENERATOR + + static void Generate_NotifyDeoptimizedHelper(MacroAssembler* masm, Deoptimizer::BailoutType type) { { diff --git a/src/mips/codegen-mips.cc b/src/mips/codegen-mips.cc index 44e0359e44..412dbc54ee 100644 --- a/src/mips/codegen-mips.cc +++ b/src/mips/codegen-mips.cc @@ -448,6 +448,30 @@ void StringCharLoadGenerator::Generate(MacroAssembler* masm, #undef __ + +byte* Code::FindPlatformCodeAgeSequence() { + UNIMPLEMENTED(); + return NULL; +} + + +bool Code::IsYoungSequence(byte* sequence) { + UNIMPLEMENTED(); + return false; +} + + +void Code::GetCodeAgeAndParity(byte* sequence, Age* age, + MarkingParity* parity) { +} + + +void Code::PatchPlatformCodeAge(byte* sequence, + Code::Age age, + MarkingParity parity) { + UNIMPLEMENTED(); +} + } } // namespace v8::internal #endif // V8_TARGET_ARCH_MIPS diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc index b5eb128e27..b7ba1fb3e7 100644 --- a/src/mips/lithium-mips.cc +++ b/src/mips/lithium-mips.cc @@ -1099,6 +1099,11 @@ LInstruction* LChunkBuilder::DoCallRuntime(HCallRuntime* instr) { } +LInstruction* LChunkBuilder::DoRor(HRor* instr) { + return DoShift(Token::ROR, instr); +} + + LInstruction* LChunkBuilder::DoShr(HShr* instr) { return DoShift(Token::SHR, instr); } diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc index 22e6174e9a..563e302f5d 100644 --- a/src/mips/stub-cache-mips.cc +++ b/src/mips/stub-cache-mips.cc @@ -1554,7 +1554,7 @@ void CallStubCompiler::GenerateMissBranch() { Handle CallStubCompiler::CompileCallField(Handle object, Handle holder, - int index, + PropertyIndex index, Handle name) { // ----------- S t a t e ------------- // -- a2 : name @@ -2920,7 +2920,7 @@ Handle LoadStubCompiler::CompileLoadNonexistent(Handle name, Handle LoadStubCompiler::CompileLoadField(Handle object, Handle holder, - int index, + PropertyIndex index, Handle name) { // ----------- S t a t e ------------- // -- a0 : receiver @@ -3111,7 +3111,7 @@ Handle LoadStubCompiler::CompileLoadGlobal( Handle KeyedLoadStubCompiler::CompileLoadField(Handle name, Handle receiver, Handle holder, - int index) { + PropertyIndex index) { // ----------- S t a t e ------------- // -- ra : return address // -- a0 : key