Commit 189c7ac1 authored by Marius Wachtler's avatar Marius Wachtler

Merge pull request #1025 from undingen/pp_stack

llvm tier: reduce scratch size
parents 02bd71a8 cc9c6ee0
...@@ -129,7 +129,7 @@ public: ...@@ -129,7 +129,7 @@ public:
const std::vector<FrameVarInfo>& getFrameVars() { return frame_vars; } const std::vector<FrameVarInfo>& getFrameVars() { return frame_vars; }
int scratchStackmapArg() { return 0; } int scratchStackmapArg() { return 0; }
int scratchSize() { return 80 + MAX_FRAME_SPILLS * sizeof(void*); } int scratchSize() { return isDeopt() ? MAX_FRAME_SPILLS * sizeof(void*) : 96; }
bool isDeopt() const { return icinfo ? icinfo->isDeopt() : false; } bool isDeopt() const { return icinfo ? icinfo->isDeopt() : false; }
bool isFrameInfoStackmap() const { return is_frame_info_stackmap; } bool isFrameInfoStackmap() const { return is_frame_info_stackmap; }
int numFrameSpillsSupported() const { return isDeopt() ? MAX_FRAME_SPILLS : 0; } int numFrameSpillsSupported() const { return isDeopt() ? MAX_FRAME_SPILLS : 0; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment