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 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 case kArchParentFramePointer: | 177 case kArchParentFramePointer: |
178 case kArchTruncateDoubleToI: | 178 case kArchTruncateDoubleToI: |
179 case kArchStackSlot: | 179 case kArchStackSlot: |
180 return kNoOpcodeFlags; | 180 return kNoOpcodeFlags; |
181 | 181 |
182 case kArchPrepareCallCFunction: | 182 case kArchPrepareCallCFunction: |
183 case kArchPrepareTailCall: | 183 case kArchPrepareTailCall: |
184 case kArchCallCFunction: | 184 case kArchCallCFunction: |
185 case kArchCallCodeObject: | 185 case kArchCallCodeObject: |
186 case kArchCallJSFunction: | 186 case kArchCallJSFunction: |
187 case kArchLazyBailout: | |
188 return kHasSideEffect; | 187 return kHasSideEffect; |
189 | 188 |
190 case kArchTailCallCodeObject: | 189 case kArchTailCallCodeObject: |
191 case kArchTailCallJSFunction: | 190 case kArchTailCallJSFunction: |
192 return kHasSideEffect | kIsBlockTerminator; | 191 return kHasSideEffect | kIsBlockTerminator; |
193 | 192 |
194 case kArchDeoptimize: | 193 case kArchDeoptimize: |
195 case kArchJmp: | 194 case kArchJmp: |
196 case kArchLookupSwitch: | 195 case kArchLookupSwitch: |
197 case kArchTableSwitch: | 196 case kArchTableSwitch: |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 } | 272 } |
274 } | 273 } |
275 | 274 |
276 node->set_total_latency(max_latency + node->latency()); | 275 node->set_total_latency(max_latency + node->latency()); |
277 } | 276 } |
278 } | 277 } |
279 | 278 |
280 } // namespace compiler | 279 } // namespace compiler |
281 } // namespace internal | 280 } // namespace internal |
282 } // namespace v8 | 281 } // namespace v8 |
OLD | NEW |