| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 JSSet::kSize); | 103 JSSet::kSize); |
| 104 | 104 |
| 105 case JS_MAP_TYPE: | 105 case JS_MAP_TYPE: |
| 106 return GetVisitorIdForSize(kVisitStruct, | 106 return GetVisitorIdForSize(kVisitStruct, |
| 107 kVisitStructGeneric, | 107 kVisitStructGeneric, |
| 108 JSMap::kSize); | 108 JSMap::kSize); |
| 109 | 109 |
| 110 case JS_WEAK_MAP_TYPE: | 110 case JS_WEAK_MAP_TYPE: |
| 111 return kVisitJSWeakMap; | 111 return kVisitJSWeakMap; |
| 112 | 112 |
| 113 case JS_WEAK_SET_TYPE: |
| 114 return kVisitJSWeakSet; |
| 115 |
| 113 case JS_REGEXP_TYPE: | 116 case JS_REGEXP_TYPE: |
| 114 return kVisitJSRegExp; | 117 return kVisitJSRegExp; |
| 115 | 118 |
| 116 case SHARED_FUNCTION_INFO_TYPE: | 119 case SHARED_FUNCTION_INFO_TYPE: |
| 117 return kVisitSharedFunctionInfo; | 120 return kVisitSharedFunctionInfo; |
| 118 | 121 |
| 119 case JS_PROXY_TYPE: | 122 case JS_PROXY_TYPE: |
| 120 return GetVisitorIdForSize(kVisitStruct, | 123 return GetVisitorIdForSize(kVisitStruct, |
| 121 kVisitStructGeneric, | 124 kVisitStructGeneric, |
| 122 JSProxy::kSize); | 125 JSProxy::kSize); |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 kVisitStructGeneric, | 193 kVisitStructGeneric, |
| 191 instance_size); | 194 instance_size); |
| 192 | 195 |
| 193 default: | 196 default: |
| 194 UNREACHABLE(); | 197 UNREACHABLE(); |
| 195 return kVisitorIdCount; | 198 return kVisitorIdCount; |
| 196 } | 199 } |
| 197 } | 200 } |
| 198 | 201 |
| 199 } } // namespace v8::internal | 202 } } // namespace v8::internal |
| OLD | NEW |