OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 | 112 |
113 case JS_WEAK_SET_TYPE: | 113 case JS_WEAK_SET_TYPE: |
114 return kVisitJSWeakSet; | 114 return kVisitJSWeakSet; |
115 | 115 |
116 case JS_REGEXP_TYPE: | 116 case JS_REGEXP_TYPE: |
117 return kVisitJSRegExp; | 117 return kVisitJSRegExp; |
118 | 118 |
119 case SHARED_FUNCTION_INFO_TYPE: | 119 case SHARED_FUNCTION_INFO_TYPE: |
120 return kVisitSharedFunctionInfo; | 120 return kVisitSharedFunctionInfo; |
121 | 121 |
122 case OPTIMIZED_CODE_ENTRY_TYPE: | |
123 return kVisitOptimizedCodeEntry; | |
124 | |
125 case JS_PROXY_TYPE: | 122 case JS_PROXY_TYPE: |
126 return GetVisitorIdForSize(kVisitStruct, | 123 return GetVisitorIdForSize(kVisitStruct, |
127 kVisitStructGeneric, | 124 kVisitStructGeneric, |
128 JSProxy::kSize); | 125 JSProxy::kSize); |
129 | 126 |
130 case JS_FUNCTION_PROXY_TYPE: | 127 case JS_FUNCTION_PROXY_TYPE: |
131 return GetVisitorIdForSize(kVisitStruct, | 128 return GetVisitorIdForSize(kVisitStruct, |
132 kVisitStructGeneric, | 129 kVisitStructGeneric, |
133 JSFunctionProxy::kSize); | 130 JSFunctionProxy::kSize); |
134 | 131 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 kVisitStructGeneric, | 193 kVisitStructGeneric, |
197 instance_size); | 194 instance_size); |
198 | 195 |
199 default: | 196 default: |
200 UNREACHABLE(); | 197 UNREACHABLE(); |
201 return kVisitorIdCount; | 198 return kVisitorIdCount; |
202 } | 199 } |
203 } | 200 } |
204 | 201 |
205 } } // namespace v8::internal | 202 } } // namespace v8::internal |
OLD | NEW |