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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 return raw_assembler_->IntPtrSub(a, b); | 112 return raw_assembler_->IntPtrSub(a, b); |
113 } | 113 } |
114 | 114 |
115 | 115 |
116 Node* CodeStubAssembler::WordShl(Node* value, int shift) { | 116 Node* CodeStubAssembler::WordShl(Node* value, int shift) { |
117 return raw_assembler_->WordShl(value, Int32Constant(shift)); | 117 return raw_assembler_->WordShl(value, Int32Constant(shift)); |
118 } | 118 } |
119 | 119 |
120 | 120 |
121 Node* CodeStubAssembler::LoadObjectField(Node* object, int offset) { | 121 Node* CodeStubAssembler::LoadObjectField(Node* object, int offset) { |
122 return raw_assembler_->Load(kMachAnyTagged, object, | 122 return raw_assembler_->Load(MachineType::AnyTagged(), object, |
123 IntPtrConstant(offset - kHeapObjectTag)); | 123 IntPtrConstant(offset - kHeapObjectTag)); |
124 } | 124 } |
125 | 125 |
126 | 126 |
127 Node* CodeStubAssembler::CallN(CallDescriptor* descriptor, Node* code_target, | 127 Node* CodeStubAssembler::CallN(CallDescriptor* descriptor, Node* code_target, |
128 Node** args) { | 128 Node** args) { |
129 return raw_assembler_->CallN(descriptor, code_target, args); | 129 return raw_assembler_->CallN(descriptor, code_target, args); |
130 } | 130 } |
131 | 131 |
132 | 132 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 | 167 |
168 Graph* CodeStubAssembler::graph() { return raw_assembler_->graph(); } | 168 Graph* CodeStubAssembler::graph() { return raw_assembler_->graph(); } |
169 | 169 |
170 | 170 |
171 Zone* CodeStubAssembler::zone() { return raw_assembler_->zone(); } | 171 Zone* CodeStubAssembler::zone() { return raw_assembler_->zone(); } |
172 | 172 |
173 | 173 |
174 } // namespace compiler | 174 } // namespace compiler |
175 } // namespace internal | 175 } // namespace internal |
176 } // namespace v8 | 176 } // namespace v8 |
OLD | NEW |