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

Unified Diff: src/mips/test-mips.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/mips/test-mips.h
===================================================================
--- src/mips/test-mips.h (revision 0)
+++ src/mips/test-mips.h (revision 0)
@@ -0,0 +1,27 @@
+#ifndef TEST_MIPS_H_
+#define TEST_MIPS_H_
+
+namespace v8 {
+namespace internal {
+
+// A stub we can use to create some code to test.
+class TestMIPSStub : public CodeStub {
+ public:
+ TestMIPSStub() { }
+
+ void Generate(MacroAssembler* masm) { GenerateBody(masm); }
+
+ protected:
+ void GenerateBody(MacroAssembler* masm);
+
+ private:
+ Major MajorKey() { return TestMIPS; }
+ int MinorKey() { return 0; }
+
+ const char* GetName() { return "TestMIPSStub"; }
+};
+
+
+} } // namespace v8::internal
+
+#endif //define TEST_MIPS_H_

Powered by Google App Engine
This is Rietveld 408576698