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

Side by Side Diff: src/compiler/frame-access-state.cc

Issue 1460183002: [turbofan] Add general support for sp-based frame access (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: All platforms Created 5 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "src/compiler/frame-access-state.h"
6
7 namespace v8 {
8 namespace internal {
9 namespace compiler {
10
11 void FrameAccessState::UseDefaultFrameAccess() {
12 if (frame()->needs_frame() && !FLAG_turbo_sp_frame_access) {
13 UseFPToAccessFrame();
14 } else {
15 UseSPToAccessFrame();
16 }
17 }
18
19 } // namespace compiler
20 } // namespace internal
21 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698