Chromium Code Reviews| Index: src/a64/simulator-a64.h |
| diff --git a/src/a64/simulator-a64.h b/src/a64/simulator-a64.h |
| index 4cb3761fe9213e21eb366f14cf07dfe5cd44d322..6279677ca8565e46f32d4ce8caafed06a3d6b1b7 100644 |
| --- a/src/a64/simulator-a64.h |
| +++ b/src/a64/simulator-a64.h |
| @@ -445,6 +445,8 @@ class Simulator : public DecoderVisitor { |
| } |
| Instruction* lr() { return reg<Instruction*>(kLinkRegCode); } |
| + Address get_sp() { return reinterpret_cast<Address>(sp()); } |
|
Rodolph Perfetta
2014/02/12 01:08:51
Late DBC, on a64 you can avoid the cast:
Addres
|
| + |
| // Return 'size' bits of the value of a floating-point register, as the |
| // specified type. The value is zero-extended to fill the result. |
| // |