| 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 case JS_OBJECT_TYPE: | 137 case JS_OBJECT_TYPE: |
| 138 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: | 138 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
| 139 case JS_MODULE_TYPE: | 139 case JS_MODULE_TYPE: |
| 140 case JS_VALUE_TYPE: | 140 case JS_VALUE_TYPE: |
| 141 case JS_DATE_TYPE: | 141 case JS_DATE_TYPE: |
| 142 case JS_ARRAY_TYPE: | 142 case JS_ARRAY_TYPE: |
| 143 case JS_GLOBAL_PROXY_TYPE: | 143 case JS_GLOBAL_PROXY_TYPE: |
| 144 case JS_GLOBAL_OBJECT_TYPE: | 144 case JS_GLOBAL_OBJECT_TYPE: |
| 145 case JS_BUILTINS_OBJECT_TYPE: | 145 case JS_BUILTINS_OBJECT_TYPE: |
| 146 case JS_MESSAGE_OBJECT_TYPE: | 146 case JS_MESSAGE_OBJECT_TYPE: |
| 147 case JS_ARRAY_BUFFER_TYPE: |
| 147 return GetVisitorIdForSize(kVisitJSObject, | 148 return GetVisitorIdForSize(kVisitJSObject, |
| 148 kVisitJSObjectGeneric, | 149 kVisitJSObjectGeneric, |
| 149 instance_size); | 150 instance_size); |
| 150 | 151 |
| 151 case JS_FUNCTION_TYPE: | 152 case JS_FUNCTION_TYPE: |
| 152 return kVisitJSFunction; | 153 return kVisitJSFunction; |
| 153 | 154 |
| 154 case HEAP_NUMBER_TYPE: | 155 case HEAP_NUMBER_TYPE: |
| 155 case EXTERNAL_PIXEL_ARRAY_TYPE: | 156 case EXTERNAL_PIXEL_ARRAY_TYPE: |
| 156 case EXTERNAL_BYTE_ARRAY_TYPE: | 157 case EXTERNAL_BYTE_ARRAY_TYPE: |
| (...skipping 16 matching lines...) Expand all Loading... |
| 173 kVisitStructGeneric, | 174 kVisitStructGeneric, |
| 174 instance_size); | 175 instance_size); |
| 175 | 176 |
| 176 default: | 177 default: |
| 177 UNREACHABLE(); | 178 UNREACHABLE(); |
| 178 return kVisitorIdCount; | 179 return kVisitorIdCount; |
| 179 } | 180 } |
| 180 } | 181 } |
| 181 | 182 |
| 182 } } // namespace v8::internal | 183 } } // namespace v8::internal |
| OLD | NEW |