Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 5c8717838f8da0ac6b919e70bbb300d3966612dc..7a269aab98fcd0d315948b1893cd3119342cb5f7 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -73,7 +73,8 @@ namespace internal { |
V(DebuggerStatement) \ |
V(StringDictionaryLookup) \ |
V(ElementsTransitionAndStore) \ |
- V(StoreArrayLiteralElement) |
+ V(StoreArrayLiteralElement) \ |
+ V(ProfileEntryHook) |
// List of code stubs only used on ARM platforms. |
#ifdef V8_TARGET_ARCH_ARM |
@@ -1145,6 +1146,23 @@ class StoreArrayLiteralElementStub : public CodeStub { |
DISALLOW_COPY_AND_ASSIGN(StoreArrayLiteralElementStub); |
}; |
danno
2012/07/10 09:37:13
Two empty lines between classes
Sigurður Ásgeirsson
2012/07/11 14:50:34
Done.
|
+class ProfileEntryHookStub : public CodeStub { |
+ public: |
+ explicit ProfileEntryHookStub() {} |
+ |
+ static void GenerateAheadOfTime(); |
+ // DO NOT SUBMIT. |
+ virtual bool SometimesSetsUpAFrame() { return false; } |
+ |
+ private: |
+ Major MajorKey() { return ProfileEntryHook; } |
+ int MinorKey() { return 0; } |
+ |
+ void Generate(MacroAssembler* masm); |
+ |
+ DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); |
+}; |
+ |
} } // namespace v8::internal |
#endif // V8_CODE_STUBS_H_ |