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

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

Issue 2452943002: [turbofan] Remove dead kArchTailCallJSFunction. (Closed)
Patch Set: Created 4 years, 1 month 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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 case kArchPrepareCallCFunction: 277 case kArchPrepareCallCFunction:
278 case kArchPrepareTailCall: 278 case kArchPrepareTailCall:
279 case kArchCallCFunction: 279 case kArchCallCFunction:
280 case kArchCallCodeObject: 280 case kArchCallCodeObject:
281 case kArchCallJSFunction: 281 case kArchCallJSFunction:
282 return kHasSideEffect; 282 return kHasSideEffect;
283 283
284 case kArchTailCallCodeObjectFromJSFunction: 284 case kArchTailCallCodeObjectFromJSFunction:
285 case kArchTailCallCodeObject: 285 case kArchTailCallCodeObject:
286 case kArchTailCallJSFunctionFromJSFunction: 286 case kArchTailCallJSFunctionFromJSFunction:
287 case kArchTailCallJSFunction:
288 case kArchTailCallAddress: 287 case kArchTailCallAddress:
289 return kHasSideEffect | kIsBlockTerminator; 288 return kHasSideEffect | kIsBlockTerminator;
290 289
291 case kArchDeoptimize: 290 case kArchDeoptimize:
292 case kArchJmp: 291 case kArchJmp:
293 case kArchLookupSwitch: 292 case kArchLookupSwitch:
294 case kArchTableSwitch: 293 case kArchTableSwitch:
295 case kArchRet: 294 case kArchRet:
296 case kArchThrowTerminator: 295 case kArchThrowTerminator:
297 return kIsBlockTerminator; 296 return kIsBlockTerminator;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 } 354 }
356 } 355 }
357 356
358 node->set_total_latency(max_latency + node->latency()); 357 node->set_total_latency(max_latency + node->latency());
359 } 358 }
360 } 359 }
361 360
362 } // namespace compiler 361 } // namespace compiler
363 } // namespace internal 362 } // namespace internal
364 } // namespace v8 363 } // 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