OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 return kVisitDataObjectGeneric; | 97 return kVisitDataObjectGeneric; |
98 | 98 |
99 case JS_OBJECT_TYPE: | 99 case JS_OBJECT_TYPE: |
100 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: | 100 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
101 case JS_VALUE_TYPE: | 101 case JS_VALUE_TYPE: |
102 case JS_ARRAY_TYPE: | 102 case JS_ARRAY_TYPE: |
103 case JS_REGEXP_TYPE: | 103 case JS_REGEXP_TYPE: |
104 case JS_GLOBAL_PROXY_TYPE: | 104 case JS_GLOBAL_PROXY_TYPE: |
105 case JS_GLOBAL_OBJECT_TYPE: | 105 case JS_GLOBAL_OBJECT_TYPE: |
106 case JS_BUILTINS_OBJECT_TYPE: | 106 case JS_BUILTINS_OBJECT_TYPE: |
| 107 case JS_MESSAGE_OBJECT_TYPE: |
107 return GetVisitorIdForSize(kVisitJSObject, | 108 return GetVisitorIdForSize(kVisitJSObject, |
108 kVisitJSObjectGeneric, | 109 kVisitJSObjectGeneric, |
109 instance_size); | 110 instance_size); |
110 | 111 |
111 case JS_FUNCTION_TYPE: | 112 case JS_FUNCTION_TYPE: |
112 return kVisitJSFunction; | 113 return kVisitJSFunction; |
113 | 114 |
114 case HEAP_NUMBER_TYPE: | 115 case HEAP_NUMBER_TYPE: |
115 case PIXEL_ARRAY_TYPE: | 116 case PIXEL_ARRAY_TYPE: |
116 case EXTERNAL_BYTE_ARRAY_TYPE: | 117 case EXTERNAL_BYTE_ARRAY_TYPE: |
(...skipping 15 matching lines...) Expand all Loading... |
132 kVisitStructGeneric, | 133 kVisitStructGeneric, |
133 instance_size); | 134 instance_size); |
134 | 135 |
135 default: | 136 default: |
136 UNREACHABLE(); | 137 UNREACHABLE(); |
137 return kVisitorIdCount; | 138 return kVisitorIdCount; |
138 } | 139 } |
139 } | 140 } |
140 | 141 |
141 } } // namespace v8::internal | 142 } } // namespace v8::internal |
OLD | NEW |