Chromium Code Reviews| 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 |
| } |