Revision: 12955
Author: [email protected]
Date: Tue Nov 13 23:33:16 2012
Log: Unbreak MIPS part a bit.
Review URL: https://codereview.chromium.org/11293250
http://code.google.com/p/v8/source/detail?r=12955
Modified:
/branches/bleeding_edge/src/mips/assembler-mips-inl.h
/branches/bleeding_edge/src/mips/builtins-mips.cc
/branches/bleeding_edge/src/mips/codegen-mips.cc
/branches/bleeding_edge/src/mips/lithium-mips.cc
/branches/bleeding_edge/src/mips/stub-cache-mips.cc
=======================================
--- /branches/bleeding_edge/src/mips/assembler-mips-inl.h Mon Oct 22
04:15:09 2012
+++ /branches/bleeding_edge/src/mips/assembler-mips-inl.h Tue Nov 13
23:33:16 2012
@@ -290,6 +290,17 @@
Instr current_instr = Assembler::instr_at(pc_);
return !Assembler::IsNop(current_instr, Assembler::DEBUG_BREAK_NOP);
}
+
+
+Code* RelocInfo::code_age_stub() {
+ UNIMPLEMENTED();
+ return NULL;
+}
+
+
+void RelocInfo::set_code_age_stub(Code* stub) {
+ UNIMPLEMENTED();
+}
void RelocInfo::Visit(ObjectVisitor* visitor) {
=======================================
--- /branches/bleeding_edge/src/mips/builtins-mips.cc Fri Aug 17 05:59:00
2012
+++ /branches/bleeding_edge/src/mips/builtins-mips.cc Tue Nov 13 23:33:16
2012
@@ -1253,6 +1253,25 @@
// Do a tail-call of the compiled function.
__ Jump(t9);
}
+
+
+// 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,
=======================================
--- /branches/bleeding_edge/src/mips/codegen-mips.cc Wed May 23 07:24:29
2012
+++ /branches/bleeding_edge/src/mips/codegen-mips.cc Tue Nov 13 23:33:16
2012
@@ -447,6 +447,30 @@
}
#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
=======================================
--- /branches/bleeding_edge/src/mips/lithium-mips.cc Wed Nov 7 00:37:58
2012
+++ /branches/bleeding_edge/src/mips/lithium-mips.cc Tue Nov 13 23:33:16
2012
@@ -1097,6 +1097,11 @@
argument_count_ -= instr->argument_count();
return MarkAsCall(DefineFixed(new(zone()) LCallRuntime, v0), instr);
}
+
+
+LInstruction* LChunkBuilder::DoRor(HRor* instr) {
+ return DoShift(Token::ROR, instr);
+}
LInstruction* LChunkBuilder::DoShr(HShr* instr) {
=======================================
--- /branches/bleeding_edge/src/mips/stub-cache-mips.cc Tue Nov 13 03:07:04
2012
+++ /branches/bleeding_edge/src/mips/stub-cache-mips.cc Tue Nov 13 23:33:16
2012
@@ -1554,7 +1554,7 @@
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::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> 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
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev