Chromium Code Reviews

Unified Diff: src/compiler/frame.h

Issue 1426943010: [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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | src/compiler/instruction.h » ('j') | 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 9764b261efc48383dc6a6964c906718f87453973..d375e5047b731d762157297936dfaf9782f38cb7 100644
--- a/src/compiler/frame.h
+++ b/src/compiler/frame.h
@@ -136,6 +136,9 @@ class Frame : public ZoneObject {
return frame_slot_count_ - 1;
}
+ static const int kContextSlot = 2;
+ static const int kJSFunctionSlot = 3;
+
private:
int AllocateAlignedFrameSlot(int width) {
DCHECK(width == 4 || width == 8);
« no previous file with comments | « no previous file | src/compiler/instruction.h » ('j') | no next file with comments »

Powered by Google App Engine