Reviewers: m.m.capewell, Rodolph Perfetta (ARM),
Message:
Committed patchset #1 manually as r18951 (presubmit successful).
Description:
A64: Temporary fix for predictable code size in LCodeGen::DoStackCheck.
[email protected], [email protected]
Committed: https://code.google.com/p/v8/source/detail?r=18951
Please review this at https://codereview.chromium.org/132193011/
SVN Base: https://v8.googlecode.com/svn/branches/experimental/a64
Affected files (+7, -3 lines):
M src/a64/lithium-codegen-a64.cc
Index: src/a64/lithium-codegen-a64.cc
diff --git a/src/a64/lithium-codegen-a64.cc b/src/a64/lithium-codegen-a64.cc
index
3955cc26e91c3beb4d6768b0b3b8eb8b0926eb54..56b29ceb09e0d5d9622517e584476bdc2a57e702
100644
--- a/src/a64/lithium-codegen-a64.cc
+++ b/src/a64/lithium-codegen-a64.cc
@@ -4575,9 +4575,13 @@ void LCodeGen::DoStackCheck(LStackCheck* instr) {
__ CompareRoot(masm()->StackPointer(), Heap::kStackLimitRootIndex);
__ B(hs, &done);
- // TODO(jbramley): This PredictableCodeSizeScope fails sometimes.
Sometimes
- // the code tries to generate 3 instructions, and sometimes it tries to
- // generate 2. Work out why, and fix it.
+ // TODO(bafsa): Make sure that the EnsureSpaceForLazyDeopt inside
+ // CallCodeGeneric will not insert any nop while calling the stub by
+ // inserting them now. The EnsureSpaceForLazyDeopt in CallCodeGeneric
+ // will go away at some point during the rebase (r18642) so this will
become
+ // unecessary and should be removed at this point.
+ EnsureSpaceForLazyDeopt();
+
PredictableCodeSizeScope predictable(masm_,
Assembler::kCallSizeWithRelocation);
StackCheckStub stub;
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.