| 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 1912 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1923 heap_->prototype_symbol(), js_fun->prototype()); | 1923 heap_->prototype_symbol(), js_fun->prototype()); |
| 1924 } | 1924 } |
| 1925 } | 1925 } |
| 1926 SetInternalReference(js_fun, entry, | 1926 SetInternalReference(js_fun, entry, |
| 1927 "shared", js_fun->shared(), | 1927 "shared", js_fun->shared(), |
| 1928 JSFunction::kSharedFunctionInfoOffset); | 1928 JSFunction::kSharedFunctionInfoOffset); |
| 1929 TagObject(js_fun->unchecked_context(), "(context)"); | 1929 TagObject(js_fun->unchecked_context(), "(context)"); |
| 1930 SetInternalReference(js_fun, entry, | 1930 SetInternalReference(js_fun, entry, |
| 1931 "context", js_fun->unchecked_context(), | 1931 "context", js_fun->unchecked_context(), |
| 1932 JSFunction::kContextOffset); | 1932 JSFunction::kContextOffset); |
| 1933 TagObject(js_fun->literals(), "(function literals)"); | 1933 TagObject(js_fun->literals_or_bindings(), |
| 1934 "(function literals_or_bindings)"); |
| 1934 SetInternalReference(js_fun, entry, | 1935 SetInternalReference(js_fun, entry, |
| 1935 "literals", js_fun->literals(), | 1936 "literals_or_bindings", |
| 1937 js_fun->literals_or_bindings(), |
| 1936 JSFunction::kLiteralsOffset); | 1938 JSFunction::kLiteralsOffset); |
| 1937 } | 1939 } |
| 1938 TagObject(js_obj->properties(), "(object properties)"); | 1940 TagObject(js_obj->properties(), "(object properties)"); |
| 1939 SetInternalReference(obj, entry, | 1941 SetInternalReference(obj, entry, |
| 1940 "properties", js_obj->properties(), | 1942 "properties", js_obj->properties(), |
| 1941 JSObject::kPropertiesOffset); | 1943 JSObject::kPropertiesOffset); |
| 1942 TagObject(js_obj->elements(), "(object elements)"); | 1944 TagObject(js_obj->elements(), "(object elements)"); |
| 1943 SetInternalReference(obj, entry, | 1945 SetInternalReference(obj, entry, |
| 1944 "elements", js_obj->elements(), | 1946 "elements", js_obj->elements(), |
| 1945 JSObject::kElementsOffset); | 1947 JSObject::kElementsOffset); |
| (...skipping 1447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3393 | 3395 |
| 3394 | 3396 |
| 3395 void HeapSnapshotJSONSerializer::SortHashMap( | 3397 void HeapSnapshotJSONSerializer::SortHashMap( |
| 3396 HashMap* map, List<HashMap::Entry*>* sorted_entries) { | 3398 HashMap* map, List<HashMap::Entry*>* sorted_entries) { |
| 3397 for (HashMap::Entry* p = map->Start(); p != NULL; p = map->Next(p)) | 3399 for (HashMap::Entry* p = map->Start(); p != NULL; p = map->Next(p)) |
| 3398 sorted_entries->Add(p); | 3400 sorted_entries->Add(p); |
| 3399 sorted_entries->Sort(SortUsingEntryValue); | 3401 sorted_entries->Sort(SortUsingEntryValue); |
| 3400 } | 3402 } |
| 3401 | 3403 |
| 3402 } } // namespace v8::internal | 3404 } } // namespace v8::internal |
| OLD | NEW |