[turbofan] Add Disallow* scopes to type narrowing reducer.
No changes were necessary. R=jarin@chromium.org Bug: v8:7790 Change-Id: I8a5c308b9534ee1fb669a901b6626c338883fbf8 Reviewed-on: https://chromium-review.googlesource.com/1128741 Reviewed-by: Jaroslav Sevcik <jarin@chromium.org> Commit-Queue: Georg Neis <neis@chromium.org> Cr-Commit-Position: refs/heads/master@{#54315}
This commit is contained in:
parent
8a7812e4dd
commit
75ad46a4b0
@ -20,6 +20,11 @@ TypeNarrowingReducer::TypeNarrowingReducer(Editor* editor, JSGraph* jsgraph,
|
||||
TypeNarrowingReducer::~TypeNarrowingReducer() {}
|
||||
|
||||
Reduction TypeNarrowingReducer::Reduce(Node* node) {
|
||||
DisallowHeapAllocation no_heap_allocation;
|
||||
DisallowHandleAllocation no_handle_allocation;
|
||||
DisallowHandleDereference no_handle_dereference;
|
||||
DisallowCodeDependencyChange no_dependency_change;
|
||||
|
||||
Type new_type = Type::Any();
|
||||
|
||||
switch (node->opcode()) {
|
||||
|
Loading…
Reference in New Issue
Block a user