| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 | 87 |
| 88 case MAP_TYPE: | 88 case MAP_TYPE: |
| 89 return kVisitMap; | 89 return kVisitMap; |
| 90 | 90 |
| 91 case CODE_TYPE: | 91 case CODE_TYPE: |
| 92 return kVisitCode; | 92 return kVisitCode; |
| 93 | 93 |
| 94 case JS_GLOBAL_PROPERTY_CELL_TYPE: | 94 case JS_GLOBAL_PROPERTY_CELL_TYPE: |
| 95 return kVisitPropertyCell; | 95 return kVisitPropertyCell; |
| 96 | 96 |
| 97 case JS_SET_TYPE: |
| 98 return GetVisitorIdForSize(kVisitStruct, |
| 99 kVisitStructGeneric, |
| 100 JSSet::kSize); |
| 101 |
| 102 case JS_MAP_TYPE: |
| 103 return GetVisitorIdForSize(kVisitStruct, |
| 104 kVisitStructGeneric, |
| 105 JSMap::kSize); |
| 106 |
| 97 case JS_WEAK_MAP_TYPE: | 107 case JS_WEAK_MAP_TYPE: |
| 98 return kVisitJSWeakMap; | 108 return kVisitJSWeakMap; |
| 99 | 109 |
| 100 case JS_REGEXP_TYPE: | 110 case JS_REGEXP_TYPE: |
| 101 return kVisitJSRegExp; | 111 return kVisitJSRegExp; |
| 102 | 112 |
| 103 case SHARED_FUNCTION_INFO_TYPE: | 113 case SHARED_FUNCTION_INFO_TYPE: |
| 104 return kVisitSharedFunctionInfo; | 114 return kVisitSharedFunctionInfo; |
| 105 | 115 |
| 106 case JS_PROXY_TYPE: | 116 case JS_PROXY_TYPE: |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 kVisitStructGeneric, | 168 kVisitStructGeneric, |
| 159 instance_size); | 169 instance_size); |
| 160 | 170 |
| 161 default: | 171 default: |
| 162 UNREACHABLE(); | 172 UNREACHABLE(); |
| 163 return kVisitorIdCount; | 173 return kVisitorIdCount; |
| 164 } | 174 } |
| 165 } | 175 } |
| 166 | 176 |
| 167 } } // namespace v8::internal | 177 } } // namespace v8::internal |
| OLD | NEW |