Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(628)

Unified Diff: src/a64/simulator-a64.h

Issue 145583004: A64: Fix sampling of fp register for CPU profile and bailout if sp or fp is zero. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/sampler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/a64/simulator-a64.h
diff --git a/src/a64/simulator-a64.h b/src/a64/simulator-a64.h
index af4b9a59257c3a25127467f757dc1b146b3faf38..e20ce685b5c6bd742003c2e4600138ec875070f8 100644
--- a/src/a64/simulator-a64.h
+++ b/src/a64/simulator-a64.h
@@ -440,6 +440,7 @@ class Simulator : public DecoderVisitor {
inline int64_t sp() { return xreg(31, Reg31IsStackPointer); }
inline int64_t jssp() { return xreg(kJSSPCode, Reg31IsStackPointer); }
+ inline int64_t fp() { return xreg(29, Reg31IsStackPointer); }
jbramley 2014/01/27 10:40:21 We have a kFramePointerRegCode.
ulan 2014/01/27 10:55:06 Done.
inline Instruction* lr() { return reg<Instruction*>(kLinkRegCode); }
// Return 'size' bits of the value of a floating-point register, as the
« no previous file with comments | « no previous file | src/sampler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698