Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Side by Side Diff: src/code-stubs.h

Issue 18037002: Clean up the usage of V8_TARGET_ARCH_${arch} and V8_HOST_ARCH_${arch} (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/atomicops.h ('k') | src/execution.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 V(StoreArrayLiteralElement) \ 88 V(StoreArrayLiteralElement) \
89 V(StubFailureTrampoline) \ 89 V(StubFailureTrampoline) \
90 V(ArrayConstructor) \ 90 V(ArrayConstructor) \
91 V(InternalArrayConstructor) \ 91 V(InternalArrayConstructor) \
92 V(ProfileEntryHook) \ 92 V(ProfileEntryHook) \
93 /* IC Handler stubs */ \ 93 /* IC Handler stubs */ \
94 V(LoadField) \ 94 V(LoadField) \
95 V(KeyedLoadField) 95 V(KeyedLoadField)
96 96
97 // List of code stubs only used on ARM platforms. 97 // List of code stubs only used on ARM platforms.
98 #ifdef V8_TARGET_ARCH_ARM 98 #if V8_TARGET_ARCH_ARM
99 #define CODE_STUB_LIST_ARM(V) \ 99 #define CODE_STUB_LIST_ARM(V) \
100 V(GetProperty) \ 100 V(GetProperty) \
101 V(SetProperty) \ 101 V(SetProperty) \
102 V(InvokeBuiltin) \ 102 V(InvokeBuiltin) \
103 V(RegExpCEntry) \ 103 V(RegExpCEntry) \
104 V(DirectCEntry) 104 V(DirectCEntry)
105 #else 105 #else
106 #define CODE_STUB_LIST_ARM(V) 106 #define CODE_STUB_LIST_ARM(V)
107 #endif 107 #endif
108 108
109 // List of code stubs only used on MIPS platforms. 109 // List of code stubs only used on MIPS platforms.
110 #ifdef V8_TARGET_ARCH_MIPS 110 #if V8_TARGET_ARCH_MIPS
111 #define CODE_STUB_LIST_MIPS(V) \ 111 #define CODE_STUB_LIST_MIPS(V) \
112 V(RegExpCEntry) \ 112 V(RegExpCEntry) \
113 V(DirectCEntry) 113 V(DirectCEntry)
114 #else 114 #else
115 #define CODE_STUB_LIST_MIPS(V) 115 #define CODE_STUB_LIST_MIPS(V)
116 #endif 116 #endif
117 117
118 // Combined list of code stubs. 118 // Combined list of code stubs.
119 #define CODE_STUB_LIST(V) \ 119 #define CODE_STUB_LIST(V) \
120 CODE_STUB_LIST_ALL_PLATFORMS(V) \ 120 CODE_STUB_LIST_ALL_PLATFORMS(V) \
(...skipping 2032 matching lines...) Expand 10 before | Expand all | Expand 10 after
2153 2153
2154 // The current function entry hook. 2154 // The current function entry hook.
2155 static FunctionEntryHook entry_hook_; 2155 static FunctionEntryHook entry_hook_;
2156 2156
2157 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); 2157 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub);
2158 }; 2158 };
2159 2159
2160 } } // namespace v8::internal 2160 } } // namespace v8::internal
2161 2161
2162 #endif // V8_CODE_STUBS_H_ 2162 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « src/atomicops.h ('k') | src/execution.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698