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

Side by Side Diff: src/compiler/code-stub-assembler.cc

Issue 1695313002: [turbofan] Add an operator to access the parent frame pointer (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
« no previous file with comments | « src/compiler/arm64/code-generator-arm64.cc ('k') | src/compiler/ia32/code-generator-ia32.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/code-stub-assembler.h" 5 #include "src/compiler/code-stub-assembler.h"
6 6
7 #include <ostream> 7 #include <ostream>
8 8
9 #include "src/code-factory.h" 9 #include "src/code-factory.h"
10 #include "src/compiler/graph.h" 10 #include "src/compiler/graph.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 } 96 }
97 97
98 void CodeStubAssembler::Bind(CodeStubAssembler::Label* label) { 98 void CodeStubAssembler::Bind(CodeStubAssembler::Label* label) {
99 return label->Bind(); 99 return label->Bind();
100 } 100 }
101 101
102 Node* CodeStubAssembler::LoadFramePointer() { 102 Node* CodeStubAssembler::LoadFramePointer() {
103 return raw_assembler_->LoadFramePointer(); 103 return raw_assembler_->LoadFramePointer();
104 } 104 }
105 105
106 Node* CodeStubAssembler::LoadParentFramePointer() {
107 return raw_assembler_->LoadParentFramePointer();
108 }
109
106 Node* CodeStubAssembler::LoadStackPointer() { 110 Node* CodeStubAssembler::LoadStackPointer() {
107 return raw_assembler_->LoadStackPointer(); 111 return raw_assembler_->LoadStackPointer();
108 } 112 }
109 113
110 Node* CodeStubAssembler::SmiShiftBitsConstant() { 114 Node* CodeStubAssembler::SmiShiftBitsConstant() {
111 return Int32Constant(kSmiShiftSize + kSmiTagSize); 115 return Int32Constant(kSmiShiftSize + kSmiTagSize);
112 } 116 }
113 117
114 118
115 Node* CodeStubAssembler::SmiTag(Node* value) { 119 Node* CodeStubAssembler::SmiTag(Node* value) {
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 } 606 }
603 } 607 }
604 } 608 }
605 609
606 bound_ = true; 610 bound_ = true;
607 } 611 }
608 612
609 } // namespace compiler 613 } // namespace compiler
610 } // namespace internal 614 } // namespace internal
611 } // namespace v8 615 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm64/code-generator-arm64.cc ('k') | src/compiler/ia32/code-generator-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698