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

Side by Side Diff: src/heap.h

Issue 6606002: Merge revision 6500-6600 from bleeding_edge to the isolates branch. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: '' Created 9 years, 9 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
« src/ast.cc ('K') | « src/hashmap.h ('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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 V(Map, external_unsigned_short_array_map, ExternalUnsignedShortArrayMap) \ 93 V(Map, external_unsigned_short_array_map, ExternalUnsignedShortArrayMap) \
94 V(Map, external_int_array_map, ExternalIntArrayMap) \ 94 V(Map, external_int_array_map, ExternalIntArrayMap) \
95 V(Map, external_unsigned_int_array_map, ExternalUnsignedIntArrayMap) \ 95 V(Map, external_unsigned_int_array_map, ExternalUnsignedIntArrayMap) \
96 V(Map, external_float_array_map, ExternalFloatArrayMap) \ 96 V(Map, external_float_array_map, ExternalFloatArrayMap) \
97 V(Map, context_map, ContextMap) \ 97 V(Map, context_map, ContextMap) \
98 V(Map, catch_context_map, CatchContextMap) \ 98 V(Map, catch_context_map, CatchContextMap) \
99 V(Map, code_map, CodeMap) \ 99 V(Map, code_map, CodeMap) \
100 V(Map, oddball_map, OddballMap) \ 100 V(Map, oddball_map, OddballMap) \
101 V(Map, global_property_cell_map, GlobalPropertyCellMap) \ 101 V(Map, global_property_cell_map, GlobalPropertyCellMap) \
102 V(Map, shared_function_info_map, SharedFunctionInfoMap) \ 102 V(Map, shared_function_info_map, SharedFunctionInfoMap) \
103 V(Map, message_object_map, JSMessageObjectMap) \
103 V(Map, proxy_map, ProxyMap) \ 104 V(Map, proxy_map, ProxyMap) \
104 V(Object, nan_value, NanValue) \ 105 V(Object, nan_value, NanValue) \
105 V(Object, minus_zero_value, MinusZeroValue) \ 106 V(Object, minus_zero_value, MinusZeroValue) \
106 V(Object, instanceof_cache_function, InstanceofCacheFunction) \ 107 V(Object, instanceof_cache_function, InstanceofCacheFunction) \
107 V(Object, instanceof_cache_map, InstanceofCacheMap) \ 108 V(Object, instanceof_cache_map, InstanceofCacheMap) \
108 V(Object, instanceof_cache_answer, InstanceofCacheAnswer) \ 109 V(Object, instanceof_cache_answer, InstanceofCacheAnswer) \
109 V(String, empty_string, EmptyString) \ 110 V(String, empty_string, EmptyString) \
110 V(DescriptorArray, empty_descriptor_array, EmptyDescriptorArray) \ 111 V(DescriptorArray, empty_descriptor_array, EmptyDescriptorArray) \
111 V(Map, neander_map, NeanderMap) \ 112 V(Map, neander_map, NeanderMap) \
112 V(JSObject, message_listeners, MessageListeners) \ 113 V(JSObject, message_listeners, MessageListeners) \
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 // Please note this does not perform a garbage collection. 691 // Please note this does not perform a garbage collection.
691 MUST_USE_RESULT MaybeObject* AllocateProxy( 692 MUST_USE_RESULT MaybeObject* AllocateProxy(
692 Address proxy, PretenureFlag pretenure = NOT_TENURED); 693 Address proxy, PretenureFlag pretenure = NOT_TENURED);
693 694
694 // Allocates a new SharedFunctionInfo object. 695 // Allocates a new SharedFunctionInfo object.
695 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation 696 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation
696 // failed. 697 // failed.
697 // Please note this does not perform a garbage collection. 698 // Please note this does not perform a garbage collection.
698 MUST_USE_RESULT MaybeObject* AllocateSharedFunctionInfo(Object* name); 699 MUST_USE_RESULT MaybeObject* AllocateSharedFunctionInfo(Object* name);
699 700
701 // Allocates a new JSMessageObject object.
702 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation
703 // failed.
704 // Please note that this does not perform a garbage collection.
705 MUST_USE_RESULT MaybeObject* AllocateJSMessageObject(
706 String* type,
707 JSArray* arguments,
708 int start_position,
709 int end_position,
710 Object* script,
711 Object* stack_trace,
712 Object* stack_frames);
713
700 // Allocates a new cons string object. 714 // Allocates a new cons string object.
701 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation 715 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation
702 // failed. 716 // failed.
703 // Please note this does not perform a garbage collection. 717 // Please note this does not perform a garbage collection.
704 MUST_USE_RESULT MaybeObject* AllocateConsString(String* first, 718 MUST_USE_RESULT MaybeObject* AllocateConsString(String* first,
705 String* second); 719 String* second);
706 720
707 // Allocates a new sub string object which is a substring of an underlying 721 // Allocates a new sub string object which is a substring of an underlying
708 // string buffer stretching from the index start (inclusive) to the index 722 // string buffer stretching from the index start (inclusive) to the index
709 // end (exclusive). 723 // end (exclusive).
(...skipping 1452 matching lines...) Expand 10 before | Expand all | Expand 10 after
2162 // should be returned as in some GC situations the object has been moved. 2176 // should be returned as in some GC situations the object has been moved.
2163 virtual Object* RetainAs(Object* object) = 0; 2177 virtual Object* RetainAs(Object* object) = 0;
2164 }; 2178 };
2165 2179
2166 2180
2167 } } // namespace v8::internal 2181 } } // namespace v8::internal
2168 2182
2169 #undef HEAP 2183 #undef HEAP
2170 2184
2171 #endif // V8_HEAP_H_ 2185 #endif // V8_HEAP_H_
OLDNEW
« src/ast.cc ('K') | « src/hashmap.h ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698