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

Side by Side Diff: src/compiler/instruction-scheduler.cc

Issue 1645653002: [turbofan] Add the StackSlot operator to turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Explicitly state the type of test values. Created 4 years, 10 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/instruction-codes.h ('k') | src/compiler/instruction-selector.h » ('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/instruction-scheduler.h" 5 #include "src/compiler/instruction-scheduler.h"
6 6
7 #include "src/base/adapters.h" 7 #include "src/base/adapters.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 } 168 }
169 } 169 }
170 170
171 171
172 int InstructionScheduler::GetInstructionFlags(const Instruction* instr) const { 172 int InstructionScheduler::GetInstructionFlags(const Instruction* instr) const {
173 switch (instr->arch_opcode()) { 173 switch (instr->arch_opcode()) {
174 case kArchNop: 174 case kArchNop:
175 case kArchStackPointer: 175 case kArchStackPointer:
176 case kArchFramePointer: 176 case kArchFramePointer:
177 case kArchTruncateDoubleToI: 177 case kArchTruncateDoubleToI:
178 case kArchStackSlot:
178 return kNoOpcodeFlags; 179 return kNoOpcodeFlags;
179 180
180 case kArchPrepareCallCFunction: 181 case kArchPrepareCallCFunction:
181 case kArchPrepareTailCall: 182 case kArchPrepareTailCall:
182 case kArchCallCFunction: 183 case kArchCallCFunction:
183 case kArchCallCodeObject: 184 case kArchCallCodeObject:
184 case kArchCallJSFunction: 185 case kArchCallJSFunction:
185 case kArchLazyBailout: 186 case kArchLazyBailout:
186 return kHasSideEffect; 187 return kHasSideEffect;
187 188
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 } 272 }
272 } 273 }
273 274
274 node->set_total_latency(max_latency + node->latency()); 275 node->set_total_latency(max_latency + node->latency());
275 } 276 }
276 } 277 }
277 278
278 } // namespace compiler 279 } // namespace compiler
279 } // namespace internal 280 } // namespace internal
280 } // namespace v8 281 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/instruction-codes.h ('k') | src/compiler/instruction-selector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698