Revision: 19059
Author: [email protected]
Date: Tue Feb 4 11:10:50 2014 UTC
Log: A64: Pregenerate the CEntryStub when saving FP registers.
[email protected]
Review URL: https://codereview.chromium.org/153723002
http://code.google.com/p/v8/source/detail?r=19059
Modified:
/branches/experimental/a64/src/a64/code-stubs-a64.cc
=======================================
--- /branches/experimental/a64/src/a64/code-stubs-a64.cc Mon Feb 3
17:17:35 2014 UTC
+++ /branches/experimental/a64/src/a64/code-stubs-a64.cc Tue Feb 4
11:10:50 2014 UTC
@@ -2166,16 +2166,15 @@
bool CEntryStub::IsPregenerated() {
- // TODO(jbramley): We should pregenerate kSaveFPRegs too, once we
support it.
- return (save_doubles_ == kDontSaveFPRegs) && (result_size_ == 1);
+ return result_size_ == 1;
}
void CEntryStub::GenerateAheadOfTime(Isolate* isolate) {
CEntryStub stub(1, kDontSaveFPRegs);
stub.GetCode(isolate)->set_is_pregenerated(true);
- // TODO(jbramley): We should generate kSaveFPRegs here too, but it is
not yet
- // implemented by CEntryStub because it is only used by Lithium.
+ CEntryStub stub_fp(1, kSaveFPRegs);
+ stub_fp.GetCode(isolate)->set_is_pregenerated(true);
}
--
--
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.