| Index: src/heap/heap-inl.h
|
| diff --git a/src/heap/heap-inl.h b/src/heap/heap-inl.h
|
| index d74bec0dfb6f6047c71b43822a0edb24d0e2de2d..23e171232d3963e35e01c180c78c0c99b9318f25 100644
|
| --- a/src/heap/heap-inl.h
|
| +++ b/src/heap/heap-inl.h
|
| @@ -25,6 +25,16 @@
|
| namespace v8 {
|
| namespace internal {
|
|
|
| +AllocationSpace AllocationResult::RetrySpace() {
|
| + DCHECK(IsRetry());
|
| + return static_cast<AllocationSpace>(Smi::cast(object_)->value());
|
| +}
|
| +
|
| +HeapObject* AllocationResult::ToObjectChecked() {
|
| + CHECK(!IsRetry());
|
| + return HeapObject::cast(object_);
|
| +}
|
| +
|
| void PromotionQueue::insert(HeapObject* target, int32_t size,
|
| bool was_marked_black) {
|
| if (emergency_stack_ != NULL) {
|
|
|