Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Side by Side Diff: src/compiler/js-native-context-specialization.cc

Issue 2020323004: [turbofan] Remove eager frame state from all nodes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_turbofan-checkpoint-3
Patch Set: Rebased. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/js-intrinsic-lowering.cc ('k') | src/compiler/js-typed-lowering.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/js-native-context-specialization.h" 5 #include "src/compiler/js-native-context-specialization.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/code-factory.h" 8 #include "src/code-factory.h"
9 #include "src/compilation-dependencies.h" 9 #include "src/compilation-dependencies.h"
10 #include "src/compiler/access-builder.h" 10 #include "src/compiler/access-builder.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 Node* node, Node* value, MapHandleList const& receiver_maps, 105 Node* node, Node* value, MapHandleList const& receiver_maps,
106 Handle<Name> name, AccessMode access_mode, LanguageMode language_mode, 106 Handle<Name> name, AccessMode access_mode, LanguageMode language_mode,
107 Node* index) { 107 Node* index) {
108 DCHECK(node->opcode() == IrOpcode::kJSLoadNamed || 108 DCHECK(node->opcode() == IrOpcode::kJSLoadNamed ||
109 node->opcode() == IrOpcode::kJSStoreNamed || 109 node->opcode() == IrOpcode::kJSStoreNamed ||
110 node->opcode() == IrOpcode::kJSLoadProperty || 110 node->opcode() == IrOpcode::kJSLoadProperty ||
111 node->opcode() == IrOpcode::kJSStoreProperty); 111 node->opcode() == IrOpcode::kJSStoreProperty);
112 Node* receiver = NodeProperties::GetValueInput(node, 0); 112 Node* receiver = NodeProperties::GetValueInput(node, 0);
113 Node* context = NodeProperties::GetContextInput(node); 113 Node* context = NodeProperties::GetContextInput(node);
114 Node* frame_state_eager = NodeProperties::FindFrameStateBefore(node); 114 Node* frame_state_eager = NodeProperties::FindFrameStateBefore(node);
115 Node* frame_state_lazy = NodeProperties::GetFrameStateInput(node, 0); 115 Node* frame_state_lazy = NodeProperties::GetFrameStateInput(node);
116 Node* effect = NodeProperties::GetEffectInput(node); 116 Node* effect = NodeProperties::GetEffectInput(node);
117 Node* control = NodeProperties::GetControlInput(node); 117 Node* control = NodeProperties::GetControlInput(node);
118 118
119 // Not much we can do if deoptimization support is disabled. 119 // Not much we can do if deoptimization support is disabled.
120 if (!(flags() & kDeoptimizationEnabled)) return NoChange(); 120 if (!(flags() & kDeoptimizationEnabled)) return NoChange();
121 121
122 // Retrieve the native context from the given {node}. 122 // Retrieve the native context from the given {node}.
123 Handle<Context> native_context; 123 Handle<Context> native_context;
124 if (!GetNativeContext(node).ToHandle(&native_context)) return NoChange(); 124 if (!GetNativeContext(node).ToHandle(&native_context)) return NoChange();
125 125
(...skipping 1213 matching lines...) Expand 10 before | Expand all | Expand 10 after
1339 } 1339 }
1340 1340
1341 1341
1342 SimplifiedOperatorBuilder* JSNativeContextSpecialization::simplified() const { 1342 SimplifiedOperatorBuilder* JSNativeContextSpecialization::simplified() const {
1343 return jsgraph()->simplified(); 1343 return jsgraph()->simplified();
1344 } 1344 }
1345 1345
1346 } // namespace compiler 1346 } // namespace compiler
1347 } // namespace internal 1347 } // namespace internal
1348 } // namespace v8 1348 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-intrinsic-lowering.cc ('k') | src/compiler/js-typed-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698