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

Side by Side Diff: src/compiler/js-typed-lowering.cc

Issue 2197163002: [turbofan] Remove dead JSTypedLowering::EmptyFrameState. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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-typed-lowering.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/code-factory.h" 5 #include "src/code-factory.h"
6 #include "src/compilation-dependencies.h" 6 #include "src/compilation-dependencies.h"
7 #include "src/compiler/access-builder.h" 7 #include "src/compiler/access-builder.h"
8 #include "src/compiler/js-graph.h" 8 #include "src/compiler/js-graph.h"
9 #include "src/compiler/js-typed-lowering.h" 9 #include "src/compiler/js-typed-lowering.h"
10 #include "src/compiler/linkage.h" 10 #include "src/compiler/linkage.h"
(...skipping 2107 matching lines...) Expand 10 before | Expand all | Expand 10 after
2118 case IrOpcode::kNumberTrunc: 2118 case IrOpcode::kNumberTrunc:
2119 return ReduceNumberRoundop(node); 2119 return ReduceNumberRoundop(node);
2120 case IrOpcode::kLoadField: 2120 case IrOpcode::kLoadField:
2121 return ReduceLoadField(node); 2121 return ReduceLoadField(node);
2122 default: 2122 default:
2123 break; 2123 break;
2124 } 2124 }
2125 return NoChange(); 2125 return NoChange();
2126 } 2126 }
2127 2127
2128 Node* JSTypedLowering::EmptyFrameState() {
2129 return graph()->NewNode(
2130 common()->FrameState(BailoutId::None(), OutputFrameStateCombine::Ignore(),
2131 nullptr),
2132 jsgraph()->EmptyStateValues(), jsgraph()->EmptyStateValues(),
2133 jsgraph()->EmptyStateValues(), jsgraph()->NoContextConstant(),
2134 jsgraph()->UndefinedConstant(), graph()->start());
2135 }
2136 2128
2137 Factory* JSTypedLowering::factory() const { return jsgraph()->factory(); } 2129 Factory* JSTypedLowering::factory() const { return jsgraph()->factory(); }
2138 2130
2139 2131
2140 Graph* JSTypedLowering::graph() const { return jsgraph()->graph(); } 2132 Graph* JSTypedLowering::graph() const { return jsgraph()->graph(); }
2141 2133
2142 2134
2143 Isolate* JSTypedLowering::isolate() const { return jsgraph()->isolate(); } 2135 Isolate* JSTypedLowering::isolate() const { return jsgraph()->isolate(); }
2144 2136
2145 2137
(...skipping 15 matching lines...) Expand all
2161 } 2153 }
2162 2154
2163 2155
2164 CompilationDependencies* JSTypedLowering::dependencies() const { 2156 CompilationDependencies* JSTypedLowering::dependencies() const {
2165 return dependencies_; 2157 return dependencies_;
2166 } 2158 }
2167 2159
2168 } // namespace compiler 2160 } // namespace compiler
2169 } // namespace internal 2161 } // namespace internal
2170 } // namespace v8 2162 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-typed-lowering.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698