| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 return kVisitJSRegExp; | 95 return kVisitJSRegExp; |
| 96 | 96 |
| 97 case SHARED_FUNCTION_INFO_TYPE: | 97 case SHARED_FUNCTION_INFO_TYPE: |
| 98 return kVisitSharedFunctionInfo; | 98 return kVisitSharedFunctionInfo; |
| 99 | 99 |
| 100 case JS_PROXY_TYPE: | 100 case JS_PROXY_TYPE: |
| 101 return GetVisitorIdForSize(kVisitStruct, | 101 return GetVisitorIdForSize(kVisitStruct, |
| 102 kVisitStructGeneric, | 102 kVisitStructGeneric, |
| 103 JSProxy::kSize); | 103 JSProxy::kSize); |
| 104 | 104 |
| 105 case JS_FUNCTION_PROXY_TYPE: |
| 106 return GetVisitorIdForSize(kVisitStruct, |
| 107 kVisitStructGeneric, |
| 108 JSFunctionProxy::kSize); |
| 109 |
| 105 case FOREIGN_TYPE: | 110 case FOREIGN_TYPE: |
| 106 return GetVisitorIdForSize(kVisitDataObject, | 111 return GetVisitorIdForSize(kVisitDataObject, |
| 107 kVisitDataObjectGeneric, | 112 kVisitDataObjectGeneric, |
| 108 Foreign::kSize); | 113 Foreign::kSize); |
| 109 | 114 |
| 110 case FILLER_TYPE: | 115 case FILLER_TYPE: |
| 111 return kVisitDataObjectGeneric; | 116 return kVisitDataObjectGeneric; |
| 112 | 117 |
| 113 case JS_OBJECT_TYPE: | 118 case JS_OBJECT_TYPE: |
| 114 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: | 119 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 kVisitStructGeneric, | 152 kVisitStructGeneric, |
| 148 instance_size); | 153 instance_size); |
| 149 | 154 |
| 150 default: | 155 default: |
| 151 UNREACHABLE(); | 156 UNREACHABLE(); |
| 152 return kVisitorIdCount; | 157 return kVisitorIdCount; |
| 153 } | 158 } |
| 154 } | 159 } |
| 155 | 160 |
| 156 } } // namespace v8::internal | 161 } } // namespace v8::internal |
| OLD | NEW |