OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 1918 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1929 ASSERT(!to->HasFastProperties()); | 1929 ASSERT(!to->HasFastProperties()); |
1930 // Add to dictionary. | 1930 // Add to dictionary. |
1931 Handle<String> key = Handle<String>(descs->GetKey(i)); | 1931 Handle<String> key = Handle<String>(descs->GetKey(i)); |
1932 Handle<Object> callbacks(descs->GetCallbacksObject(i)); | 1932 Handle<Object> callbacks(descs->GetCallbacksObject(i)); |
1933 PropertyDetails d = | 1933 PropertyDetails d = |
1934 PropertyDetails(details.attributes(), CALLBACKS, details.index()); | 1934 PropertyDetails(details.attributes(), CALLBACKS, details.index()); |
1935 SetNormalizedProperty(to, key, callbacks, d); | 1935 SetNormalizedProperty(to, key, callbacks, d); |
1936 break; | 1936 break; |
1937 } | 1937 } |
1938 case MAP_TRANSITION: | 1938 case MAP_TRANSITION: |
| 1939 case EXTERNAL_ARRAY_TRANSITION: |
1939 case CONSTANT_TRANSITION: | 1940 case CONSTANT_TRANSITION: |
1940 case NULL_DESCRIPTOR: | 1941 case NULL_DESCRIPTOR: |
1941 // Ignore non-properties. | 1942 // Ignore non-properties. |
1942 break; | 1943 break; |
1943 case NORMAL: | 1944 case NORMAL: |
1944 // Do not occur since the from object has fast properties. | 1945 // Do not occur since the from object has fast properties. |
1945 case INTERCEPTOR: | 1946 case INTERCEPTOR: |
1946 // No element in instance descriptors have interceptor type. | 1947 // No element in instance descriptors have interceptor type. |
1947 UNREACHABLE(); | 1948 UNREACHABLE(); |
1948 break; | 1949 break; |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2092 return from + sizeof(NestingCounterType); | 2093 return from + sizeof(NestingCounterType); |
2093 } | 2094 } |
2094 | 2095 |
2095 | 2096 |
2096 // Called when the top-level V8 mutex is destroyed. | 2097 // Called when the top-level V8 mutex is destroyed. |
2097 void Bootstrapper::FreeThreadResources() { | 2098 void Bootstrapper::FreeThreadResources() { |
2098 ASSERT(!IsActive()); | 2099 ASSERT(!IsActive()); |
2099 } | 2100 } |
2100 | 2101 |
2101 } } // namespace v8::internal | 2102 } } // namespace v8::internal |
OLD | NEW |