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

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

Issue 2021323003: [wasm] remove faux code objects Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 227
228 case kArchStackPointer: 228 case kArchStackPointer:
229 // ArchStackPointer instruction loads the current stack pointer value and 229 // ArchStackPointer instruction loads the current stack pointer value and
230 // must not be reordered with instruction with side effects. 230 // must not be reordered with instruction with side effects.
231 return kIsLoadOperation; 231 return kIsLoadOperation;
232 232
233 case kArchPrepareCallCFunction: 233 case kArchPrepareCallCFunction:
234 case kArchPrepareTailCall: 234 case kArchPrepareTailCall:
235 case kArchCallCFunction: 235 case kArchCallCFunction:
236 case kArchCallCodeObject: 236 case kArchCallCodeObject:
237 case kArchCallWasmFunction:
237 case kArchCallJSFunction: 238 case kArchCallJSFunction:
238 return kHasSideEffect; 239 return kHasSideEffect;
239 240
240 case kArchTailCallCodeObjectFromJSFunction: 241 case kArchTailCallCodeObjectFromJSFunction:
241 case kArchTailCallCodeObject: 242 case kArchTailCallCodeObject:
242 case kArchTailCallJSFunctionFromJSFunction: 243 case kArchTailCallJSFunctionFromJSFunction:
243 case kArchTailCallJSFunction: 244 case kArchTailCallJSFunction:
244 case kArchTailCallAddress: 245 case kArchTailCallAddress:
245 return kHasSideEffect | kIsBlockTerminator; 246 return kHasSideEffect | kIsBlockTerminator;
246 247
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 } 339 }
339 } 340 }
340 341
341 node->set_total_latency(max_latency + node->latency()); 342 node->set_total_latency(max_latency + node->latency());
342 } 343 }
343 } 344 }
344 345
345 } // namespace compiler 346 } // namespace compiler
346 } // namespace internal 347 } // namespace internal
347 } // namespace v8 348 } // 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