Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Unified Diff: src/mips/ic-mips.cc

Issue 1320006: Updates and fixes for MIPS support. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/mips/ic-mips.cc
===================================================================
--- src/mips/ic-mips.cc (revision 4259)
+++ src/mips/ic-mips.cc (working copy)
@@ -47,16 +47,19 @@
void LoadIC::GenerateArrayLength(MacroAssembler* masm) {
UNIMPLEMENTED_MIPS();
+ __ break_(__LINE__);
}
void LoadIC::GenerateStringLength(MacroAssembler* masm) {
UNIMPLEMENTED_MIPS();
+ __ break_(__LINE__);
}
void LoadIC::GenerateFunctionPrototype(MacroAssembler* masm) {
UNIMPLEMENTED_MIPS();
+ __ break_(__LINE__);
}
@@ -65,15 +68,16 @@
void CallIC::GenerateMegamorphic(MacroAssembler* masm, int argc) {
UNIMPLEMENTED_MIPS();
+ __ break_(__LINE__);
}
void CallIC::GenerateNormal(MacroAssembler* masm, int argc) {
UNIMPLEMENTED_MIPS();
+ __ break_(__LINE__);
}
void CallIC::GenerateMiss(MacroAssembler* masm, int argc) {
- UNIMPLEMENTED_MIPS();
// Registers:
// a2: name
// ra: return address
@@ -93,7 +97,7 @@
CEntryStub stub(1);
__ CallStub(&stub);
- // Move result to r1 and leave the internal frame.
+ // Move result to a1 and leave the internal frame.
__ mov(a1, v0);
__ LeaveInternalFrame();
@@ -101,10 +105,10 @@
Label invoke, global;
__ lw(a2, MemOperand(sp, argc * kPointerSize));
__ andi(t0, a2, kSmiTagMask);
- __ Branch(eq, &invoke, t0, Operand(zero_reg));
+ __ Branch(&invoke, eq, t0, Operand(zero_reg));
__ GetObjectType(a2, a3, a3);
- __ Branch(eq, &global, a3, Operand(JS_GLOBAL_OBJECT_TYPE));
- __ Branch(ne, &invoke, a3, Operand(JS_BUILTINS_OBJECT_TYPE));
+ __ Branch(&global, eq, a3, Operand(JS_GLOBAL_OBJECT_TYPE));
+ __ Branch(&invoke, ne, a3, Operand(JS_BUILTINS_OBJECT_TYPE));
// Patch the receiver on the stack.
__ bind(&global);
@@ -122,16 +126,19 @@
void LoadIC::GenerateMegamorphic(MacroAssembler* masm) {
UNIMPLEMENTED_MIPS();
+ __ break_(__LINE__);
}
void LoadIC::GenerateNormal(MacroAssembler* masm) {
UNIMPLEMENTED_MIPS();
+ __ break_(__LINE__);
}
void LoadIC::GenerateMiss(MacroAssembler* masm) {
UNIMPLEMENTED_MIPS();
+ __ break_(__LINE__);
}
@@ -157,58 +164,69 @@
void KeyedLoadIC::GenerateMiss(MacroAssembler* masm) {
UNIMPLEMENTED_MIPS();
+ __ break_(__LINE__);
}
void KeyedLoadIC::GenerateGeneric(MacroAssembler* masm) {
UNIMPLEMENTED_MIPS();
+ __ break_(__LINE__);
}
void KeyedLoadIC::GenerateString(MacroAssembler* masm) {
UNIMPLEMENTED_MIPS();
+ __ break_(__LINE__);
}
void KeyedLoadIC::GenerateExternalArray(MacroAssembler* masm,
ExternalArrayType array_type) {
UNIMPLEMENTED_MIPS();
+ __ break_(__LINE__);
}
void KeyedStoreIC::GenerateGeneric(MacroAssembler* masm) {
UNIMPLEMENTED_MIPS();
+ __ break_(__LINE__);
}
void KeyedStoreIC::GenerateExternalArray(MacroAssembler* masm,
ExternalArrayType array_type) {
UNIMPLEMENTED_MIPS();
+ __ break_(__LINE__);
}
void KeyedLoadIC::GenerateIndexedInterceptor(MacroAssembler* masm) {
UNIMPLEMENTED_MIPS();
+ __ break_(__LINE__);
}
void KeyedStoreIC::GenerateMiss(MacroAssembler* masm) {
UNIMPLEMENTED_MIPS();
+ __ break_(__LINE__);
}
void StoreIC::GenerateMegamorphic(MacroAssembler* masm) {
UNIMPLEMENTED_MIPS();
+ __ break_(__LINE__);
}
void StoreIC::GenerateMiss(MacroAssembler* masm) {
UNIMPLEMENTED_MIPS();
+ __ break_(__LINE__);
}
void StoreIC::GenerateArrayLength(MacroAssembler* masm) {
UNIMPLEMENTED_MIPS();
+ __ break_(__LINE__);
}
#undef __

Powered by Google App Engine
This is Rietveld 408576698