| 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 2044 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2055 ASSERT(!to->HasFastProperties()); | 2055 ASSERT(!to->HasFastProperties()); |
| 2056 // Add to dictionary. | 2056 // Add to dictionary. |
| 2057 Handle<String> key = Handle<String>(descs->GetKey(i)); | 2057 Handle<String> key = Handle<String>(descs->GetKey(i)); |
| 2058 Handle<Object> callbacks(descs->GetCallbacksObject(i)); | 2058 Handle<Object> callbacks(descs->GetCallbacksObject(i)); |
| 2059 PropertyDetails d = | 2059 PropertyDetails d = |
| 2060 PropertyDetails(details.attributes(), CALLBACKS, details.index()); | 2060 PropertyDetails(details.attributes(), CALLBACKS, details.index()); |
| 2061 SetNormalizedProperty(to, key, callbacks, d); | 2061 SetNormalizedProperty(to, key, callbacks, d); |
| 2062 break; | 2062 break; |
| 2063 } | 2063 } |
| 2064 case MAP_TRANSITION: | 2064 case MAP_TRANSITION: |
| 2065 case EXTERNAL_ARRAY_TRANSITION: | 2065 case ELEMENTS_TRANSITION: |
| 2066 case CONSTANT_TRANSITION: | 2066 case CONSTANT_TRANSITION: |
| 2067 case NULL_DESCRIPTOR: | 2067 case NULL_DESCRIPTOR: |
| 2068 // Ignore non-properties. | 2068 // Ignore non-properties. |
| 2069 break; | 2069 break; |
| 2070 case NORMAL: | 2070 case NORMAL: |
| 2071 // Do not occur since the from object has fast properties. | 2071 // Do not occur since the from object has fast properties. |
| 2072 case HANDLER: | 2072 case HANDLER: |
| 2073 case INTERCEPTOR: | 2073 case INTERCEPTOR: |
| 2074 // No element in instance descriptors have proxy or interceptor type. | 2074 // No element in instance descriptors have proxy or interceptor type. |
| 2075 UNREACHABLE(); | 2075 UNREACHABLE(); |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2225 return from + sizeof(NestingCounterType); | 2225 return from + sizeof(NestingCounterType); |
| 2226 } | 2226 } |
| 2227 | 2227 |
| 2228 | 2228 |
| 2229 // Called when the top-level V8 mutex is destroyed. | 2229 // Called when the top-level V8 mutex is destroyed. |
| 2230 void Bootstrapper::FreeThreadResources() { | 2230 void Bootstrapper::FreeThreadResources() { |
| 2231 ASSERT(!IsActive()); | 2231 ASSERT(!IsActive()); |
| 2232 } | 2232 } |
| 2233 | 2233 |
| 2234 } } // namespace v8::internal | 2234 } } // namespace v8::internal |
| OLD | NEW |