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

Unified Diff: src/codegen.h

Issue 549079: Support for MIPS in architecture independent files.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 11 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/codegen.h
===================================================================
--- src/codegen.h (revision 3220)
+++ src/codegen.h (working copy)
@@ -85,6 +85,10 @@
#include "x64/codegen-x64.h"
#elif V8_TARGET_ARCH_ARM
#include "arm/codegen-arm.h"
+#elif V8_TARGET_ARCH_MIPS
+#include "mips/codegen-mips.h"
+// Include the declaration of TestMIPSStub
+#include "mips/test-mips.h"
#else
#error Unsupported target architecture.
#endif
@@ -146,7 +150,12 @@
#endif
inline void Jump();
+#ifndef V8_TARGET_ARCH_MIPS
Søren Thygesen Gjesse 2010/01/19 22:59:12 Having a platform specific #ifdef in a platform in
Alexandre 2010/01/22 23:08:42 This is necessary for MIPS. We don't have a cmp in
inline void Branch(Condition cc);
+#else
+ inline void Branch(Condition cc, Register src1 = zero_reg,
Søren Thygesen Gjesse 2010/01/19 22:59:12 Look at http://google-styleguide.googlecode.com/sv
Alexandre 2010/01/22 23:08:42 Style issue fixed. On 2010/01/19 22:59:12, Søren G
+ const Operand& src2 = Operand(zero_reg));
+#endif
void BindExit() { masm_->bind(&exit_label_); }
void SaveRegisters();

Powered by Google App Engine
This is Rietveld 408576698