Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(653)

Side by Side Diff: src/liveobjectlist.cc

Issue 10878047: Revert to code state of 3.13.1 plus r12350 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/json-parser.h ('k') | src/mark-compact.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 v(InterceptorInfo, "unexpected: InterceptorInfo") \ 67 v(InterceptorInfo, "unexpected: InterceptorInfo") \
68 v(AccessCheckInfo, "unexpected: AccessCheckInfo") \ 68 v(AccessCheckInfo, "unexpected: AccessCheckInfo") \
69 v(AccessorInfo, "unexpected: AccessorInfo") \ 69 v(AccessorInfo, "unexpected: AccessorInfo") \
70 v(ExternalTwoByteString, "unexpected: ExternalTwoByteString") \ 70 v(ExternalTwoByteString, "unexpected: ExternalTwoByteString") \
71 v(ExternalAsciiString, "unexpected: ExternalAsciiString") \ 71 v(ExternalAsciiString, "unexpected: ExternalAsciiString") \
72 v(ExternalString, "unexpected: ExternalString") \ 72 v(ExternalString, "unexpected: ExternalString") \
73 v(SeqTwoByteString, "unexpected: SeqTwoByteString") \ 73 v(SeqTwoByteString, "unexpected: SeqTwoByteString") \
74 v(SeqAsciiString, "unexpected: SeqAsciiString") \ 74 v(SeqAsciiString, "unexpected: SeqAsciiString") \
75 v(SeqString, "unexpected: SeqString") \ 75 v(SeqString, "unexpected: SeqString") \
76 v(JSFunctionResultCache, "unexpected: JSFunctionResultCache") \ 76 v(JSFunctionResultCache, "unexpected: JSFunctionResultCache") \
77 v(NativeContext, "unexpected: NativeContext") \ 77 v(GlobalContext, "unexpected: GlobalContext") \
78 v(MapCache, "unexpected: MapCache") \ 78 v(MapCache, "unexpected: MapCache") \
79 v(CodeCacheHashTable, "unexpected: CodeCacheHashTable") \ 79 v(CodeCacheHashTable, "unexpected: CodeCacheHashTable") \
80 v(CompilationCacheTable, "unexpected: CompilationCacheTable") \ 80 v(CompilationCacheTable, "unexpected: CompilationCacheTable") \
81 v(SymbolTable, "unexpected: SymbolTable") \ 81 v(SymbolTable, "unexpected: SymbolTable") \
82 v(Dictionary, "unexpected: Dictionary") \ 82 v(Dictionary, "unexpected: Dictionary") \
83 v(HashTable, "unexpected: HashTable") \ 83 v(HashTable, "unexpected: HashTable") \
84 v(DescriptorArray, "unexpected: DescriptorArray") \ 84 v(DescriptorArray, "unexpected: DescriptorArray") \
85 v(ExternalFloatArray, "unexpected: ExternalFloatArray") \ 85 v(ExternalFloatArray, "unexpected: ExternalFloatArray") \
86 v(ExternalUnsignedIntArray, "unexpected: ExternalUnsignedIntArray") \ 86 v(ExternalUnsignedIntArray, "unexpected: ExternalUnsignedIntArray") \
87 v(ExternalIntArray, "unexpected: ExternalIntArray") \ 87 v(ExternalIntArray, "unexpected: ExternalIntArray") \
(...skipping 1856 matching lines...) Expand 10 before | Expand all | Expand 10 after
1944 // Get the target object. 1944 // Get the target object.
1945 HeapObject* heap_obj = HeapObject::cast(GetObj(obj_id)); 1945 HeapObject* heap_obj = HeapObject::cast(GetObj(obj_id));
1946 if (heap_obj == heap->undefined_value()) { 1946 if (heap_obj == heap->undefined_value()) {
1947 return heap_obj; 1947 return heap_obj;
1948 } 1948 }
1949 1949
1950 Handle<HeapObject> target = Handle<HeapObject>(heap_obj); 1950 Handle<HeapObject> target = Handle<HeapObject>(heap_obj);
1951 1951
1952 // Get the constructor function for context extension and arguments array. 1952 // Get the constructor function for context extension and arguments array.
1953 JSObject* arguments_boilerplate = 1953 JSObject* arguments_boilerplate =
1954 isolate->context()->native_context()->arguments_boilerplate(); 1954 isolate->context()->global_context()->arguments_boilerplate();
1955 JSFunction* arguments_function = 1955 JSFunction* arguments_function =
1956 JSFunction::cast(arguments_boilerplate->map()->constructor()); 1956 JSFunction::cast(arguments_boilerplate->map()->constructor());
1957 1957
1958 Handle<JSFunction> args_function = Handle<JSFunction>(arguments_function); 1958 Handle<JSFunction> args_function = Handle<JSFunction>(arguments_function);
1959 LolFilter filter(filter_obj); 1959 LolFilter filter(filter_obj);
1960 1960
1961 if (!verbose) { 1961 if (!verbose) {
1962 RetainersSummaryWriter writer(target, instance_filter, args_function); 1962 RetainersSummaryWriter writer(target, instance_filter, args_function);
1963 return SummarizePrivate(&writer, &filter, true); 1963 return SummarizePrivate(&writer, &filter, true);
1964 1964
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
2622 i++, heap_obj, Heap::new_space()->FromSpaceStart()); 2622 i++, heap_obj, Heap::new_space()->FromSpaceStart());
2623 } 2623 }
2624 } 2624 }
2625 } 2625 }
2626 #endif // VERIFY_LOL 2626 #endif // VERIFY_LOL
2627 2627
2628 2628
2629 } } // namespace v8::internal 2629 } } // namespace v8::internal
2630 2630
2631 #endif // LIVE_OBJECT_LIST 2631 #endif // LIVE_OBJECT_LIST
OLDNEW
« no previous file with comments | « src/json-parser.h ('k') | src/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698