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 1283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 // --------------------------------------------------------------------------- |
1304 // Debugger Support | |
1305 | |
1306 void DebugBreak(); | |
1307 | |
1308 // --------------------------------------------------------------------------- | |
1309 // Exception handling | 1304 // Exception handling |
1310 | 1305 |
1311 // Push a new stack handler and link into stack handler chain. | 1306 // Push a new stack handler and link into stack handler chain. |
1312 void PushStackHandler(); | 1307 void PushStackHandler(); |
1313 | 1308 |
1314 // Unlink the stack handler on top of the stack from the stack handler chain. | 1309 // Unlink the stack handler on top of the stack from the stack handler chain. |
1315 // Must preserve the result register. | 1310 // Must preserve the result register. |
1316 void PopStackHandler(); | 1311 void PopStackHandler(); |
1317 | 1312 |
1318 | 1313 |
(...skipping 868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2187 class RegisterBits : public BitField<unsigned, 0, 5> {}; | 2182 class RegisterBits : public BitField<unsigned, 0, 5> {}; |
2188 class DeltaBits : public BitField<uint32_t, 5, 32-5> {}; | 2183 class DeltaBits : public BitField<uint32_t, 5, 32-5> {}; |
2189 }; | 2184 }; |
2190 | 2185 |
2191 } // namespace internal | 2186 } // namespace internal |
2192 } // namespace v8 | 2187 } // namespace v8 |
2193 | 2188 |
2194 #define ACCESS_MASM(masm) masm-> | 2189 #define ACCESS_MASM(masm) masm-> |
2195 | 2190 |
2196 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2191 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
OLD | NEW |