OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 5 #ifndef V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "src/arm64/assembler-arm64.h" | 10 #include "src/arm64/assembler-arm64.h" |
(...skipping 1282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1293 masm_->use_real_aborts_ = false; | 1293 masm_->use_real_aborts_ = false; |
1294 } | 1294 } |
1295 ~NoUseRealAbortsScope() { | 1295 ~NoUseRealAbortsScope() { |
1296 masm_->use_real_aborts_ = saved_; | 1296 masm_->use_real_aborts_ = saved_; |
1297 } | 1297 } |
1298 private: | 1298 private: |
1299 bool saved_; | 1299 bool saved_; |
1300 MacroAssembler* masm_; | 1300 MacroAssembler* masm_; |
1301 }; | 1301 }; |
1302 | 1302 |
1303 // --------------------------------------------------------------------------- | 1303 // Frame restart support |
1304 // Debugger Support | |
1305 | |
1306 void DebugBreak(); | |
1307 void MaybeDropFrames(); | 1304 void MaybeDropFrames(); |
1308 | 1305 |
1309 // --------------------------------------------------------------------------- | |
1310 // Exception handling | 1306 // Exception handling |
1311 | 1307 |
1312 // Push a new stack handler and link into stack handler chain. | 1308 // Push a new stack handler and link into stack handler chain. |
1313 void PushStackHandler(); | 1309 void PushStackHandler(); |
1314 | 1310 |
1315 // Unlink the stack handler on top of the stack from the stack handler chain. | 1311 // Unlink the stack handler on top of the stack from the stack handler chain. |
1316 // Must preserve the result register. | 1312 // Must preserve the result register. |
1317 void PopStackHandler(); | 1313 void PopStackHandler(); |
1318 | 1314 |
1319 | 1315 |
(...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2182 class RegisterBits : public BitField<unsigned, 0, 5> {}; | 2178 class RegisterBits : public BitField<unsigned, 0, 5> {}; |
2183 class DeltaBits : public BitField<uint32_t, 5, 32-5> {}; | 2179 class DeltaBits : public BitField<uint32_t, 5, 32-5> {}; |
2184 }; | 2180 }; |
2185 | 2181 |
2186 } // namespace internal | 2182 } // namespace internal |
2187 } // namespace v8 | 2183 } // namespace v8 |
2188 | 2184 |
2189 #define ACCESS_MASM(masm) masm-> | 2185 #define ACCESS_MASM(masm) masm-> |
2190 | 2186 |
2191 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2187 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
OLD | NEW |