Unbreak MIPS part a bit.

Review URL: https://codereview.chromium.org/11293250

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12955 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
svenpanne@chromium.org 2012-11-14 07:33:16 +00:00
parent 06f0dc8bb6
commit 8a210a78c6
5 changed files with 62 additions and 3 deletions

View File

@ -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) {

View File

@ -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) {
{

View File

@ -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

View File

@ -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);
}

View File

@ -1554,7 +1554,7 @@ void CallStubCompiler::GenerateMissBranch() {
Handle<Code> CallStubCompiler::CompileCallField(Handle<JSObject> object,
Handle<JSObject> holder,
int index,
PropertyIndex index,
Handle<String> name) {
// ----------- S t a t e -------------
// -- a2 : name
@ -2920,7 +2920,7 @@ Handle<Code> LoadStubCompiler::CompileLoadNonexistent(Handle<String> name,
Handle<Code> LoadStubCompiler::CompileLoadField(Handle<JSObject> object,
Handle<JSObject> holder,
int index,
PropertyIndex index,
Handle<String> name) {
// ----------- S t a t e -------------
// -- a0 : receiver
@ -3111,7 +3111,7 @@ Handle<Code> LoadStubCompiler::CompileLoadGlobal(
Handle<Code> KeyedLoadStubCompiler::CompileLoadField(Handle<String> name,
Handle<JSObject> receiver,
Handle<JSObject> holder,
int index) {
PropertyIndex index) {
// ----------- S t a t e -------------
// -- ra : return address
// -- a0 : key