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

Unified Diff: src/x64/frames-x64.h

Issue 147197: X64: Added support for "with" and "switch". (Closed)
Patch Set: Fixed constants in frames-x64.h. Stacktraces work. Created 11 years, 6 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
Index: src/x64/frames-x64.h
diff --git a/src/x64/frames-x64.h b/src/x64/frames-x64.h
index 31d8a2d9e21fe39f213d5a58ac49c6c25cbf1073..d4ab2c62e7c7131171153410e5978689de1989ea 100644
--- a/src/x64/frames-x64.h
+++ b/src/x64/frames-x64.h
@@ -59,12 +59,12 @@ class StackHandlerConstants : public AllStatic {
class EntryFrameConstants : public AllStatic {
public:
- static const int kCallerFPOffset = 0 * kPointerSize;
+ static const int kCallerFPOffset = -6 * kPointerSize;
- static const int kFunctionArgOffset = 1 * kPointerSize;
- static const int kReceiverArgOffset = 2 * kPointerSize;
- static const int kArgcOffset = 3 * kPointerSize;
- static const int kArgvOffset = 4 * kPointerSize;
+ static const int kFunctionArgOffset = +3 * kPointerSize;
+ static const int kReceiverArgOffset = +4 * kPointerSize;
+ static const int kArgcOffset = +5 * kPointerSize;
+ static const int kArgvOffset = +6 * kPointerSize;
};
« src/x64/codegen-x64.cc ('K') | « src/x64/codegen-x64.cc ('k') | src/x64/frames-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698