OLD | NEW |
---|---|
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
66 V(ArgumentsAccess) \ | 66 V(ArgumentsAccess) \ |
67 V(RegExpConstructResult) \ | 67 V(RegExpConstructResult) \ |
68 V(NumberToString) \ | 68 V(NumberToString) \ |
69 V(CEntry) \ | 69 V(CEntry) \ |
70 V(JSEntry) \ | 70 V(JSEntry) \ |
71 V(KeyedLoadElement) \ | 71 V(KeyedLoadElement) \ |
72 V(KeyedStoreElement) \ | 72 V(KeyedStoreElement) \ |
73 V(DebuggerStatement) \ | 73 V(DebuggerStatement) \ |
74 V(StringDictionaryLookup) \ | 74 V(StringDictionaryLookup) \ |
75 V(ElementsTransitionAndStore) \ | 75 V(ElementsTransitionAndStore) \ |
76 V(StoreArrayLiteralElement) | 76 V(StoreArrayLiteralElement) \ |
77 V(ProfileEntryHook) | |
77 | 78 |
78 // List of code stubs only used on ARM platforms. | 79 // List of code stubs only used on ARM platforms. |
79 #ifdef V8_TARGET_ARCH_ARM | 80 #ifdef V8_TARGET_ARCH_ARM |
80 #define CODE_STUB_LIST_ARM(V) \ | 81 #define CODE_STUB_LIST_ARM(V) \ |
81 V(GetProperty) \ | 82 V(GetProperty) \ |
82 V(SetProperty) \ | 83 V(SetProperty) \ |
83 V(InvokeBuiltin) \ | 84 V(InvokeBuiltin) \ |
84 V(RegExpCEntry) \ | 85 V(RegExpCEntry) \ |
85 V(DirectCEntry) | 86 V(DirectCEntry) |
86 #else | 87 #else |
(...skipping 1050 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1137 explicit StoreArrayLiteralElementStub() {} | 1138 explicit StoreArrayLiteralElementStub() {} |
1138 | 1139 |
1139 private: | 1140 private: |
1140 Major MajorKey() { return StoreArrayLiteralElement; } | 1141 Major MajorKey() { return StoreArrayLiteralElement; } |
1141 int MinorKey() { return 0; } | 1142 int MinorKey() { return 0; } |
1142 | 1143 |
1143 void Generate(MacroAssembler* masm); | 1144 void Generate(MacroAssembler* masm); |
1144 | 1145 |
1145 DISALLOW_COPY_AND_ASSIGN(StoreArrayLiteralElementStub); | 1146 DISALLOW_COPY_AND_ASSIGN(StoreArrayLiteralElementStub); |
1146 }; | 1147 }; |
1147 | 1148 |
danno
2012/07/10 09:37:13
Two empty lines between classes
Sigurður Ásgeirsson
2012/07/11 14:50:34
Done.
| |
1149 class ProfileEntryHookStub : public CodeStub { | |
1150 public: | |
1151 explicit ProfileEntryHookStub() {} | |
1152 | |
1153 static void GenerateAheadOfTime(); | |
1154 // DO NOT SUBMIT. | |
1155 virtual bool SometimesSetsUpAFrame() { return false; } | |
1156 | |
1157 private: | |
1158 Major MajorKey() { return ProfileEntryHook; } | |
1159 int MinorKey() { return 0; } | |
1160 | |
1161 void Generate(MacroAssembler* masm); | |
1162 | |
1163 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); | |
1164 }; | |
1165 | |
1148 } } // namespace v8::internal | 1166 } } // namespace v8::internal |
1149 | 1167 |
1150 #endif // V8_CODE_STUBS_H_ | 1168 #endif // V8_CODE_STUBS_H_ |
OLD | NEW |