| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 return kVisitDataObjectGeneric; | 108 return kVisitDataObjectGeneric; |
| 109 | 109 |
| 110 case JS_OBJECT_TYPE: | 110 case JS_OBJECT_TYPE: |
| 111 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: | 111 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
| 112 case JS_VALUE_TYPE: | 112 case JS_VALUE_TYPE: |
| 113 case JS_ARRAY_TYPE: | 113 case JS_ARRAY_TYPE: |
| 114 case JS_GLOBAL_PROXY_TYPE: | 114 case JS_GLOBAL_PROXY_TYPE: |
| 115 case JS_GLOBAL_OBJECT_TYPE: | 115 case JS_GLOBAL_OBJECT_TYPE: |
| 116 case JS_BUILTINS_OBJECT_TYPE: | 116 case JS_BUILTINS_OBJECT_TYPE: |
| 117 case JS_MESSAGE_OBJECT_TYPE: | 117 case JS_MESSAGE_OBJECT_TYPE: |
| 118 case JS_WEAK_MAP_TYPE: |
| 118 return GetVisitorIdForSize(kVisitJSObject, | 119 return GetVisitorIdForSize(kVisitJSObject, |
| 119 kVisitJSObjectGeneric, | 120 kVisitJSObjectGeneric, |
| 120 instance_size); | 121 instance_size); |
| 121 | 122 |
| 122 case JS_FUNCTION_TYPE: | 123 case JS_FUNCTION_TYPE: |
| 123 return kVisitJSFunction; | 124 return kVisitJSFunction; |
| 124 | 125 |
| 125 case HEAP_NUMBER_TYPE: | 126 case HEAP_NUMBER_TYPE: |
| 126 case EXTERNAL_PIXEL_ARRAY_TYPE: | 127 case EXTERNAL_PIXEL_ARRAY_TYPE: |
| 127 case EXTERNAL_BYTE_ARRAY_TYPE: | 128 case EXTERNAL_BYTE_ARRAY_TYPE: |
| (...skipping 16 matching lines...) Expand all Loading... |
| 144 kVisitStructGeneric, | 145 kVisitStructGeneric, |
| 145 instance_size); | 146 instance_size); |
| 146 | 147 |
| 147 default: | 148 default: |
| 148 UNREACHABLE(); | 149 UNREACHABLE(); |
| 149 return kVisitorIdCount; | 150 return kVisitorIdCount; |
| 150 } | 151 } |
| 151 } | 152 } |
| 152 | 153 |
| 153 } } // namespace v8::internal | 154 } } // namespace v8::internal |
| OLD | NEW |