Commit 60a49aee authored by Georg Neis's avatar Georg Neis Committed by Commit Bot

[compiler] Remove obsolete AllowHandleAllocation scopes

Bug: v8:7790
Change-Id: Iabfbb36c18935b04ee4c67129accd3a9b4729b3a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2681942
Commit-Queue: Georg Neis <neis@chromium.org>
Reviewed-by: 's avatarSantiago Aboy Solanes <solanes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#72587}
parent 42cd9eb7
......@@ -2912,7 +2912,6 @@ ObjectData* JSHeapBroker::TryGetOrCreateData(Handle<Object> object,
object_data = zone()->New<ObjectData>( \
this, &(entry->value), object, kNeverSerializedHeapObject); \
} else if (mode() == kSerializing) { \
AllowHandleAllocation handle_allocation; \
entry = refs_->LookupOrInsert(object.address()); \
object_data = zone()->New<name##Data>(this, &(entry->value), \
Handle<name>::cast(object)); \
......@@ -2930,7 +2929,6 @@ ObjectData* JSHeapBroker::TryGetOrCreateData(Handle<Object> object,
CHECK(!crash_on_error); \
return nullptr; \
} \
AllowHandleAllocation handle_allocation; \
entry = refs_->LookupOrInsert(object.address()); \
object_data = zone()->New<name##Data>(this, &(entry->value), \
Handle<name>::cast(object));
......@@ -2945,7 +2943,6 @@ ObjectData* JSHeapBroker::TryGetOrCreateData(Handle<Object> object,
this, &(entry->value), Handle<name>::cast(object), \
kBackgroundSerializedHeapObject); \
} else if (mode() == kSerializing) { \
AllowHandleAllocation handle_allocation; \
entry = refs_->LookupOrInsert(object.address()); \
object_data = zone()->New<name##Data>(this, &(entry->value), \
Handle<name>::cast(object)); \
......@@ -2960,7 +2957,6 @@ ObjectData* JSHeapBroker::TryGetOrCreateData(Handle<Object> object,
} else if (object->Is##name()) { \
if (mode() == kSerializing) { \
entry = refs_->LookupOrInsert(object.address()); \
AllowHandleAllocation handle_allocation; \
object_data = zone()->New<name##Data>(this, &(entry->value), \
Handle<name>::cast(object)); \
} else { \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment