Chromium Code Reviews| Index: src/heap.cc |
| diff --git a/src/heap.cc b/src/heap.cc |
| index 0093829b1c5f779c64e72bd4b4babab2e5e1e276..21c798b3aed03c8eada465adb69dcd323691d350 100644 |
| --- a/src/heap.cc |
| +++ b/src/heap.cc |
| @@ -1942,6 +1942,12 @@ void Heap::CreateJSConstructEntryStub() { |
| set_js_construct_entry_code(*stub.GetCode()); |
| } |
|
Erik Corry
2011/02/04 09:55:55
Blank lines.
antonm
2011/02/04 12:59:45
Done.
|
| +#if V8_TARGET_ARCH_ARM |
| +void Heap::CreateDirectCEntryStub() { |
| + DirectCEntryStub stub; |
| + set_direct_c_entry_code(*stub.GetCode()); |
| +} |
| +#endif |
|
Erik Corry
2011/02/04 09:55:55
Blank lines.
antonm
2011/02/04 12:59:45
Done.
|
| void Heap::CreateFixedStubs() { |
| // Here we create roots for fixed stubs. They are needed at GC |
| @@ -1963,6 +1969,9 @@ void Heap::CreateFixedStubs() { |
| #if V8_TARGET_ARCH_ARM && !V8_INTERPRETED_REGEXP |
| Heap::CreateRegExpCEntryStub(); |
| #endif |
| +#if V8_TARGET_ARCH_ARM |
| + Heap::CreateDirectCEntryStub(); |
| +#endif |
| } |