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. |
+// 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_ |