OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |