Chromium Code Reviews| Index: src/arm/code-stubs-arm.h |
| =================================================================== |
| --- src/arm/code-stubs-arm.h (revision 6213) |
| +++ src/arm/code-stubs-arm.h (working copy) |
| @@ -456,7 +456,21 @@ |
| const char* GetName() { return "RegExpCEntryStub"; } |
| }; |
| +// Stub used when returning from direct native call to generated code. |
|
antonm
2011/01/21 17:56:36
English is not native to me, so feel free to ignor
Zaheer
2011/01/24 09:43:31
Thanks. I think your description is more accurate
|
| +// Allows the code stub to move in case of a GC from the native call. |
| +// The stub itself is assumed to be unmovable. |
| +class DirectCEntryStub: public CodeStub { |
| + public: |
| + DirectCEntryStub() {} |
| + void Generate(MacroAssembler* masm); |
| + private: |
| + Major MajorKey() { return DirectCEntry; } |
| + int MinorKey() { return 0; } |
| + const char* GetName() { return "DirectCEntryStub"; } |
| +}; |
| + |
| + |
| } } // namespace v8::internal |
| #endif // V8_ARM_CODE_STUBS_ARM_H_ |