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

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

Issue 2280613002: Revert of [turbofan] Insert dummy values when changing from None type. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 3 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.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/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 #include "src/base/utils/random-number-generator.h" 8 #include "src/base/utils/random-number-generator.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 235
236 236
237 int InstructionScheduler::GetInstructionFlags(const Instruction* instr) const { 237 int InstructionScheduler::GetInstructionFlags(const Instruction* instr) const {
238 switch (instr->arch_opcode()) { 238 switch (instr->arch_opcode()) {
239 case kArchNop: 239 case kArchNop:
240 case kArchFramePointer: 240 case kArchFramePointer:
241 case kArchParentFramePointer: 241 case kArchParentFramePointer:
242 case kArchTruncateDoubleToI: 242 case kArchTruncateDoubleToI:
243 case kArchStackSlot: 243 case kArchStackSlot:
244 case kArchDebugBreak: 244 case kArchDebugBreak:
245 case kArchImpossible:
245 case kArchComment: 246 case kArchComment:
246 case kIeee754Float64Acos: 247 case kIeee754Float64Acos:
247 case kIeee754Float64Acosh: 248 case kIeee754Float64Acosh:
248 case kIeee754Float64Asin: 249 case kIeee754Float64Asin:
249 case kIeee754Float64Asinh: 250 case kIeee754Float64Asinh:
250 case kIeee754Float64Atan: 251 case kIeee754Float64Atan:
251 case kIeee754Float64Atanh: 252 case kIeee754Float64Atanh:
252 case kIeee754Float64Atan2: 253 case kIeee754Float64Atan2:
253 case kIeee754Float64Cbrt: 254 case kIeee754Float64Cbrt:
254 case kIeee754Float64Cos: 255 case kIeee754Float64Cos:
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 } 353 }
353 } 354 }
354 355
355 node->set_total_latency(max_latency + node->latency()); 356 node->set_total_latency(max_latency + node->latency());
356 } 357 }
357 } 358 }
358 359
359 } // namespace compiler 360 } // namespace compiler
360 } // namespace internal 361 } // namespace internal
361 } // namespace v8 362 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/instruction-codes.h ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698