Chromium Code Reviews| Index: src/heap.h |
| diff --git a/src/heap.h b/src/heap.h |
| index 1c86817aa81a1ebee155a5095fe47c9a5bff59b2..e0ae0b2c24a0edc7259b495f213c5f5098318781 100644 |
| --- a/src/heap.h |
| +++ b/src/heap.h |
| @@ -94,6 +94,7 @@ namespace internal { |
| V(Map, oddball_map, OddballMap) \ |
| V(Map, global_property_cell_map, GlobalPropertyCellMap) \ |
| V(Map, shared_function_info_map, SharedFunctionInfoMap) \ |
| + V(Map, message_object_map, JSMessageObjectMap) \ |
| V(Map, proxy_map, ProxyMap) \ |
| V(Object, nan_value, NanValue) \ |
| V(Object, minus_zero_value, MinusZeroValue) \ |
| @@ -628,6 +629,19 @@ class Heap : public AllStatic { |
| // Please note this does not perform a garbage collection. |
| MUST_USE_RESULT static MaybeObject* AllocateSharedFunctionInfo(Object* name); |
| + // Allocates a new JSMessageObject object. |
| + // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation |
| + // failed. |
| + // Please not that this does not perform a garbage collection. |
|
Søren Thygesen Gjesse
2011/02/02 13:08:17
not -> note
Mads Ager (chromium)
2011/02/02 13:30:36
Done.
|
| + MUST_USE_RESULT static MaybeObject* AllocateJSMessageObject( |
| + String* type, |
| + JSArray* arguments, |
| + int start_position, |
| + int end_position, |
| + Object* script, |
| + Object* stack_trace, |
| + Object* stack_frames); |
| + |
| // Allocates a new cons string object. |
| // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation |
| // failed. |