summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.cc
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2023-08-24 14:08:33 +0100
committer David Srbecky <dsrbecky@google.com> 2023-08-30 13:05:29 +0000
commit33d57ac6d1be2127bc31fb55a5054ac84bb7d78d (patch)
tree453ab97ca94cd0838ca7ee065a24d27ce3e725bd /compiler/optimizing/code_generator.cc
parent834fb38bc0fb16d7d79bc877fced920065bbff82 (diff)
Move HasShouldDeoptimizeFlag from method header to CodeInfo.
We don't have room for the extra bit if the code size is greater than 1GB. Bug: 288215378 Bug: 288833213 Bug: 297093110 Test: ./art/test.py -b --host --64 Change-Id: I0070b270c7fe03f2f6fbb26223e78de41305c547
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
-rw-r--r--compiler/optimizing/code_generator.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/code_generator.cc b/compiler/optimizing/code_generator.cc
index ea668202ab..1fea30a359 100644
--- a/compiler/optimizing/code_generator.cc
+++ b/compiler/optimizing/code_generator.cc
@@ -279,7 +279,8 @@ void CodeGenerator::Compile() {
fpu_spill_mask_,
GetGraph()->GetNumberOfVRegs(),
GetGraph()->IsCompilingBaseline(),
- GetGraph()->IsDebuggable());
+ GetGraph()->IsDebuggable(),
+ GetGraph()->HasShouldDeoptimizeFlag());
size_t frame_start = GetAssembler()->CodeSize();
GenerateFrameEntry();