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 |
122 case JS_PROXY_TYPE: | 125 case JS_PROXY_TYPE: |
123 return GetVisitorIdForSize(kVisitStruct, | 126 return GetVisitorIdForSize(kVisitStruct, |
124 kVisitStructGeneric, | 127 kVisitStructGeneric, |
125 JSProxy::kSize); | 128 JSProxy::kSize); |
126 | 129 |
127 case JS_FUNCTION_PROXY_TYPE: | 130 case JS_FUNCTION_PROXY_TYPE: |
128 return GetVisitorIdForSize(kVisitStruct, | 131 return GetVisitorIdForSize(kVisitStruct, |
129 kVisitStructGeneric, | 132 kVisitStructGeneric, |
130 JSFunctionProxy::kSize); | 133 JSFunctionProxy::kSize); |
131 | 134 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 kVisitStructGeneric, | 196 kVisitStructGeneric, |
194 instance_size); | 197 instance_size); |
195 | 198 |
196 default: | 199 default: |
197 UNREACHABLE(); | 200 UNREACHABLE(); |
198 return kVisitorIdCount; | 201 return kVisitorIdCount; |
199 } | 202 } |
200 } | 203 } |
201 | 204 |
202 } } // namespace v8::internal | 205 } } // namespace v8::internal |
OLD | NEW |