| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 | 84 |
| 85 case CODE_TYPE: | 85 case CODE_TYPE: |
| 86 return kVisitCode; | 86 return kVisitCode; |
| 87 | 87 |
| 88 case JS_GLOBAL_PROPERTY_CELL_TYPE: | 88 case JS_GLOBAL_PROPERTY_CELL_TYPE: |
| 89 return kVisitPropertyCell; | 89 return kVisitPropertyCell; |
| 90 | 90 |
| 91 case SHARED_FUNCTION_INFO_TYPE: | 91 case SHARED_FUNCTION_INFO_TYPE: |
| 92 return kVisitSharedFunctionInfo; | 92 return kVisitSharedFunctionInfo; |
| 93 | 93 |
| 94 case JS_PROXY_TYPE: |
| 95 return GetVisitorIdForSize(kVisitDataObject, |
| 96 kVisitDataObjectGeneric, |
| 97 JSProxy::kSize); |
| 98 |
| 94 case PROXY_TYPE: | 99 case PROXY_TYPE: |
| 95 return GetVisitorIdForSize(kVisitDataObject, | 100 return GetVisitorIdForSize(kVisitDataObject, |
| 96 kVisitDataObjectGeneric, | 101 kVisitDataObjectGeneric, |
| 97 Proxy::kSize); | 102 Proxy::kSize); |
| 98 | 103 |
| 99 case FILLER_TYPE: | 104 case FILLER_TYPE: |
| 100 return kVisitDataObjectGeneric; | 105 return kVisitDataObjectGeneric; |
| 101 | 106 |
| 102 case JS_OBJECT_TYPE: | 107 case JS_OBJECT_TYPE: |
| 103 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: | 108 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 kVisitStructGeneric, | 142 kVisitStructGeneric, |
| 138 instance_size); | 143 instance_size); |
| 139 | 144 |
| 140 default: | 145 default: |
| 141 UNREACHABLE(); | 146 UNREACHABLE(); |
| 142 return kVisitorIdCount; | 147 return kVisitorIdCount; |
| 143 } | 148 } |
| 144 } | 149 } |
| 145 | 150 |
| 146 } } // namespace v8::internal | 151 } } // namespace v8::internal |
| OLD | NEW |