OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef V8_CODE_STUB_ASSEMBLER_H_ | 5 #ifndef V8_CODE_STUB_ASSEMBLER_H_ |
6 #define V8_CODE_STUB_ASSEMBLER_H_ | 6 #define V8_CODE_STUB_ASSEMBLER_H_ |
7 | 7 |
8 #include <functional> | 8 #include <functional> |
9 | 9 |
10 #include "src/compiler/code-assembler.h" | 10 #include "src/compiler/code-assembler.h" |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 | 164 |
165 void BranchIfSimd128Equal(compiler::Node* lhs, compiler::Node* lhs_map, | 165 void BranchIfSimd128Equal(compiler::Node* lhs, compiler::Node* lhs_map, |
166 compiler::Node* rhs, compiler::Node* rhs_map, | 166 compiler::Node* rhs, compiler::Node* rhs_map, |
167 Label* if_equal, Label* if_notequal); | 167 Label* if_equal, Label* if_notequal); |
168 void BranchIfSimd128Equal(compiler::Node* lhs, compiler::Node* rhs, | 168 void BranchIfSimd128Equal(compiler::Node* lhs, compiler::Node* rhs, |
169 Label* if_equal, Label* if_notequal) { | 169 Label* if_equal, Label* if_notequal) { |
170 BranchIfSimd128Equal(lhs, LoadMap(lhs), rhs, LoadMap(rhs), if_equal, | 170 BranchIfSimd128Equal(lhs, LoadMap(lhs), rhs, LoadMap(rhs), if_equal, |
171 if_notequal); | 171 if_notequal); |
172 } | 172 } |
173 | 173 |
174 void BranchIfSameValueZero(compiler::Node* a, compiler::Node* b, | |
175 compiler::Node* context, Label* if_true, | |
176 Label* if_false); | |
177 | |
178 void BranchIfFastJSArray(compiler::Node* object, compiler::Node* context, | 174 void BranchIfFastJSArray(compiler::Node* object, compiler::Node* context, |
179 Label* if_true, Label* if_false); | 175 Label* if_true, Label* if_false); |
180 | 176 |
181 // Load value from current frame by given offset in bytes. | 177 // Load value from current frame by given offset in bytes. |
182 compiler::Node* LoadFromFrame(int offset, | 178 compiler::Node* LoadFromFrame(int offset, |
183 MachineType rep = MachineType::AnyTagged()); | 179 MachineType rep = MachineType::AnyTagged()); |
184 // Load value from current parent frame by given offset in bytes. | 180 // Load value from current parent frame by given offset in bytes. |
185 compiler::Node* LoadFromParentFrame( | 181 compiler::Node* LoadFromParentFrame( |
186 int offset, MachineType rep = MachineType::AnyTagged()); | 182 int offset, MachineType rep = MachineType::AnyTagged()); |
187 | 183 |
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
829 Label* bailout); | 825 Label* bailout); |
830 | 826 |
831 static const int kElementLoopUnrollThreshold = 8; | 827 static const int kElementLoopUnrollThreshold = 8; |
832 }; | 828 }; |
833 | 829 |
834 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 830 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
835 | 831 |
836 } // namespace internal | 832 } // namespace internal |
837 } // namespace v8 | 833 } // namespace v8 |
838 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 834 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
OLD | NEW |