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

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

Issue 541513002: MIPS: Clean up code stubs and ensure distinct major keys. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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 | « no previous file | src/ic/mips/handler-compiler-mips.cc » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_CODE_STUBS_H_ 5 #ifndef V8_CODE_STUBS_H_
6 #define V8_CODE_STUBS_H_ 6 #define V8_CODE_STUBS_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 V(RestoreRegistersState) \ 101 V(RestoreRegistersState) \
102 V(StoreRegistersState) 102 V(StoreRegistersState)
103 103
104 #else 104 #else
105 #define CODE_STUB_LIST_ARM64(V) 105 #define CODE_STUB_LIST_ARM64(V)
106 #endif 106 #endif
107 107
108 // List of code stubs only used on MIPS platforms. 108 // List of code stubs only used on MIPS platforms.
109 #if V8_TARGET_ARCH_MIPS 109 #if V8_TARGET_ARCH_MIPS
110 #define CODE_STUB_LIST_MIPS(V) \ 110 #define CODE_STUB_LIST_MIPS(V) \
111 V(RegExpCEntry) \
112 V(DirectCEntry) \ 111 V(DirectCEntry) \
112 V(RestoreRegistersState) \
113 V(StoreRegistersState) \ 113 V(StoreRegistersState) \
114 V(RestoreRegistersState) 114 V(WriteInt32ToHeapNumber)
115 #elif V8_TARGET_ARCH_MIPS64 115 #elif V8_TARGET_ARCH_MIPS64
116 #define CODE_STUB_LIST_MIPS(V) \ 116 #define CODE_STUB_LIST_MIPS(V) \
117 V(RegExpCEntry) \
118 V(DirectCEntry) \ 117 V(DirectCEntry) \
118 V(RestoreRegistersState) \
119 V(StoreRegistersState) \ 119 V(StoreRegistersState) \
120 V(RestoreRegistersState) 120 V(WriteInt32ToHeapNumber)
121 #else 121 #else
122 #define CODE_STUB_LIST_MIPS(V) 122 #define CODE_STUB_LIST_MIPS(V)
123 #endif 123 #endif
124 124
125 // Combined list of code stubs. 125 // Combined list of code stubs.
126 #define CODE_STUB_LIST(V) \ 126 #define CODE_STUB_LIST(V) \
127 CODE_STUB_LIST_ALL_PLATFORMS(V) \ 127 CODE_STUB_LIST_ALL_PLATFORMS(V) \
128 CODE_STUB_LIST_ARM(V) \ 128 CODE_STUB_LIST_ARM(V) \
129 CODE_STUB_LIST_ARM64(V) \ 129 CODE_STUB_LIST_ARM64(V) \
130 CODE_STUB_LIST_MIPS(V) 130 CODE_STUB_LIST_MIPS(V)
(...skipping 2507 matching lines...) Expand 10 before | Expand all | Expand 10 after
2638 2638
2639 #define DEFINE_MAJOR_KEY(NAME) \ 2639 #define DEFINE_MAJOR_KEY(NAME) \
2640 CodeStub::Major NAME##Stub::MajorKey() const { return NAME; } 2640 CodeStub::Major NAME##Stub::MajorKey() const { return NAME; }
2641 2641
2642 CODE_STUB_LIST(DEFINE_MAJOR_KEY) 2642 CODE_STUB_LIST(DEFINE_MAJOR_KEY)
2643 2643
2644 #undef DEFINE_MAJOR_KEY 2644 #undef DEFINE_MAJOR_KEY
2645 } } // namespace v8::internal 2645 } } // namespace v8::internal
2646 2646
2647 #endif // V8_CODE_STUBS_H_ 2647 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « no previous file | src/ic/mips/handler-compiler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698