Commit fc39b9e3 authored by Georg Neis's avatar Georg Neis Committed by Commit Bot

[turbofan] Add Disallow* scopes to checkpoint elimination.

No changes were needed.

R=jarin@chromium.org

Bug: v8:7790
Change-Id: I5842a39db1395ab25f61aab2443c0061f613a883
Reviewed-on: https://chromium-review.googlesource.com/1128897Reviewed-by: 's avatarJaroslav Sevcik <jarin@chromium.org>
Commit-Queue: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54342}
parent 1f6afa86
...@@ -39,6 +39,11 @@ Reduction CheckpointElimination::ReduceCheckpoint(Node* node) { ...@@ -39,6 +39,11 @@ Reduction CheckpointElimination::ReduceCheckpoint(Node* node) {
} }
Reduction CheckpointElimination::Reduce(Node* node) { Reduction CheckpointElimination::Reduce(Node* node) {
DisallowHeapAllocation no_heap_allocation;
DisallowHandleAllocation no_handle_allocation;
DisallowHandleDereference no_handle_dereference;
DisallowCodeDependencyChange no_dependency_change;
switch (node->opcode()) { switch (node->opcode()) {
case IrOpcode::kCheckpoint: case IrOpcode::kCheckpoint:
return ReduceCheckpoint(node); return ReduceCheckpoint(node);
......
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