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

Side by Side Diff: src/heap.h

Issue 6113004: Version 3.0.7 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 9 years, 11 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/handles.cc ('k') | src/heap.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 V(Map, byte_array_map, ByteArrayMap) \ 46 V(Map, byte_array_map, ByteArrayMap) \
47 V(Map, one_pointer_filler_map, OnePointerFillerMap) \ 47 V(Map, one_pointer_filler_map, OnePointerFillerMap) \
48 V(Map, two_pointer_filler_map, TwoPointerFillerMap) \ 48 V(Map, two_pointer_filler_map, TwoPointerFillerMap) \
49 /* Cluster the most popular ones in a few cache lines here at the top. */ \ 49 /* Cluster the most popular ones in a few cache lines here at the top. */ \
50 V(Smi, stack_limit, StackLimit) \ 50 V(Smi, stack_limit, StackLimit) \
51 V(Object, undefined_value, UndefinedValue) \ 51 V(Object, undefined_value, UndefinedValue) \
52 V(Object, the_hole_value, TheHoleValue) \ 52 V(Object, the_hole_value, TheHoleValue) \
53 V(Object, null_value, NullValue) \ 53 V(Object, null_value, NullValue) \
54 V(Object, true_value, TrueValue) \ 54 V(Object, true_value, TrueValue) \
55 V(Object, false_value, FalseValue) \ 55 V(Object, false_value, FalseValue) \
56 V(Object, arguments_marker, ArgumentsMarker) \
56 V(Map, heap_number_map, HeapNumberMap) \ 57 V(Map, heap_number_map, HeapNumberMap) \
57 V(Map, global_context_map, GlobalContextMap) \ 58 V(Map, global_context_map, GlobalContextMap) \
58 V(Map, fixed_array_map, FixedArrayMap) \ 59 V(Map, fixed_array_map, FixedArrayMap) \
59 V(Map, fixed_cow_array_map, FixedCOWArrayMap) \ 60 V(Map, fixed_cow_array_map, FixedCOWArrayMap) \
60 V(Object, no_interceptor_result_sentinel, NoInterceptorResultSentinel) \ 61 V(Object, no_interceptor_result_sentinel, NoInterceptorResultSentinel) \
61 V(Map, meta_map, MetaMap) \ 62 V(Map, meta_map, MetaMap) \
62 V(Object, termination_exception, TerminationException) \ 63 V(Object, termination_exception, TerminationException) \
63 V(Map, hash_table_map, HashTableMap) \ 64 V(Map, hash_table_map, HashTableMap) \
64 V(FixedArray, empty_fixed_array, EmptyFixedArray) \ 65 V(FixedArray, empty_fixed_array, EmptyFixedArray) \
65 V(ByteArray, empty_byte_array, EmptyByteArray) \ 66 V(ByteArray, empty_byte_array, EmptyByteArray) \
(...skipping 2056 matching lines...) Expand 10 before | Expand all | Expand 10 after
2122 // Return whether this object should be retained. If NULL is returned the 2123 // Return whether this object should be retained. If NULL is returned the
2123 // object has no references. Otherwise the address of the retained object 2124 // object has no references. Otherwise the address of the retained object
2124 // should be returned as in some GC situations the object has been moved. 2125 // should be returned as in some GC situations the object has been moved.
2125 virtual Object* RetainAs(Object* object) = 0; 2126 virtual Object* RetainAs(Object* object) = 0;
2126 }; 2127 };
2127 2128
2128 2129
2129 } } // namespace v8::internal 2130 } } // namespace v8::internal
2130 2131
2131 #endif // V8_HEAP_H_ 2132 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/handles.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698