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

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

Issue 1645653002: [turbofan] Add the StackSlot operator to turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Forgot to initialize frame in testing code. Created 4 years, 10 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
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 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 return kIsBlockTerminator; 198 return kIsBlockTerminator;
199 199
200 case kCheckedLoadInt8: 200 case kCheckedLoadInt8:
201 case kCheckedLoadUint8: 201 case kCheckedLoadUint8:
202 case kCheckedLoadInt16: 202 case kCheckedLoadInt16:
203 case kCheckedLoadUint16: 203 case kCheckedLoadUint16:
204 case kCheckedLoadWord32: 204 case kCheckedLoadWord32:
205 case kCheckedLoadWord64: 205 case kCheckedLoadWord64:
206 case kCheckedLoadFloat32: 206 case kCheckedLoadFloat32:
207 case kCheckedLoadFloat64: 207 case kCheckedLoadFloat64:
208 case kArchStackSlot:
208 return kIsLoadOperation; 209 return kIsLoadOperation;
209 210
210 case kCheckedStoreWord8: 211 case kCheckedStoreWord8:
211 case kCheckedStoreWord16: 212 case kCheckedStoreWord16:
212 case kCheckedStoreWord32: 213 case kCheckedStoreWord32:
213 case kCheckedStoreWord64: 214 case kCheckedStoreWord64:
214 case kCheckedStoreFloat32: 215 case kCheckedStoreFloat32:
215 case kCheckedStoreFloat64: 216 case kCheckedStoreFloat64:
216 case kArchStoreWithWriteBarrier: 217 case kArchStoreWithWriteBarrier:
217 return kHasSideEffect; 218 return kHasSideEffect;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 } 272 }
272 } 273 }
273 274
274 node->set_total_latency(max_latency + node->latency()); 275 node->set_total_latency(max_latency + node->latency());
275 } 276 }
276 } 277 }
277 278
278 } // namespace compiler 279 } // namespace compiler
279 } // namespace internal 280 } // namespace internal
280 } // namespace v8 281 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698