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

Unified Diff: src/heap.cc

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/heap.cc
===================================================================
--- src/heap.cc (revision 3220)
+++ src/heap.cc (working copy)
@@ -44,6 +44,9 @@
#if V8_TARGET_ARCH_ARM && V8_NATIVE_REGEXP
#include "regexp-macro-assembler.h"
#include "arm/regexp-macro-assembler-arm.h"
+#elif V8_TARGET_ARCH_MIPS && V8_NATIVE_REGEXP
Søren Thygesen Gjesse 2010/01/19 22:59:12 I think you can safely ignore native RegExp for MI
Alexandre 2010/01/22 23:08:42 Removed. On 2010/01/19 22:59:12, Søren Gjesse wrot
+#include "regexp-macro-assembler.h"
+#include "mips/regexp-macro-assembler-mips.h"
#endif
namespace v8 {
@@ -1334,6 +1337,7 @@
}
Søren Thygesen Gjesse 2010/01/19 22:59:12 Accidental edit?
Alexandre 2010/01/22 23:08:42 Removed. On 2010/01/19 22:59:12, Søren Gjesse wrot
+
Object* Heap::AllocateHeapNumber(double value) {
// Use general version, if we're forced to always allocate.
if (always_allocate()) return AllocateHeapNumber(value, TENURED);
@@ -1400,6 +1404,12 @@
}
#endif
+#if V8_TARGET_ARCH_MIPS
+void Heap::CreateTestMIPSStub() {
+ TestMIPSStub stub;
+ set_test_mips_entry_code(*stub.GetCode());
+}
+#endif
void Heap::CreateCEntryDebugBreakStub() {
CEntryDebugBreakStub stub;
@@ -1440,6 +1450,9 @@
#if V8_TARGET_ARCH_ARM && V8_NATIVE_REGEXP
Heap::CreateRegExpCEntryStub();
#endif
+#ifdef V8_TARGET_ARCH_MIPS
+ Heap::CreateTestMIPSStub();
+#endif
}

Powered by Google App Engine
This is Rietveld 408576698