| OLD | NEW | 
|---|
| 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 221     case kArchFramePointer: | 221     case kArchFramePointer: | 
| 222     case kArchParentFramePointer: | 222     case kArchParentFramePointer: | 
| 223     case kArchTruncateDoubleToI: | 223     case kArchTruncateDoubleToI: | 
| 224     case kArchStackSlot: | 224     case kArchStackSlot: | 
| 225     case kArchDebugBreak: | 225     case kArchDebugBreak: | 
| 226     case kArchComment: | 226     case kArchComment: | 
| 227     case kIeee754Float64Atan: | 227     case kIeee754Float64Atan: | 
| 228     case kIeee754Float64Atan2: | 228     case kIeee754Float64Atan2: | 
| 229     case kIeee754Float64Log: | 229     case kIeee754Float64Log: | 
| 230     case kIeee754Float64Log1p: | 230     case kIeee754Float64Log1p: | 
|  | 231     case kIeee754Float64Log2: | 
|  | 232     case kIeee754Float64Log10: | 
| 231       return kNoOpcodeFlags; | 233       return kNoOpcodeFlags; | 
| 232 | 234 | 
| 233     case kArchStackPointer: | 235     case kArchStackPointer: | 
| 234       // ArchStackPointer instruction loads the current stack pointer value and | 236       // ArchStackPointer instruction loads the current stack pointer value and | 
| 235       // must not be reordered with instruction with side effects. | 237       // must not be reordered with instruction with side effects. | 
| 236       return kIsLoadOperation; | 238       return kIsLoadOperation; | 
| 237 | 239 | 
| 238     case kArchPrepareCallCFunction: | 240     case kArchPrepareCallCFunction: | 
| 239     case kArchPrepareTailCall: | 241     case kArchPrepareTailCall: | 
| 240     case kArchCallCFunction: | 242     case kArchCallCFunction: | 
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 343       } | 345       } | 
| 344     } | 346     } | 
| 345 | 347 | 
| 346     node->set_total_latency(max_latency + node->latency()); | 348     node->set_total_latency(max_latency + node->latency()); | 
| 347   } | 349   } | 
| 348 } | 350 } | 
| 349 | 351 | 
| 350 }  // namespace compiler | 352 }  // namespace compiler | 
| 351 }  // namespace internal | 353 }  // namespace internal | 
| 352 }  // namespace v8 | 354 }  // namespace v8 | 
| OLD | NEW | 
|---|