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

Unified Diff: src/compiler/frame.h

Issue 1442273002: Fix "[turbofan] Spill rsi and rdi in their existing locations." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/frame.h
diff --git a/src/compiler/frame.h b/src/compiler/frame.h
index d375e5047b731d762157297936dfaf9782f38cb7..f0909f18037c35ca329d28fb9fe8761547d85c16 100644
--- a/src/compiler/frame.h
+++ b/src/compiler/frame.h
@@ -136,8 +136,8 @@ class Frame : public ZoneObject {
return frame_slot_count_ - 1;
}
- static const int kContextSlot = 2;
- static const int kJSFunctionSlot = 3;
+ static const int kContextSlot = 2 + StandardFrameConstants::kCPSlotCount;
+ static const int kJSFunctionSlot = 3 + StandardFrameConstants::kCPSlotCount;
private:
int AllocateAlignedFrameSlot(int width) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698