diff options
author | Vladimir Marko <vmarko@google.com> | 2015-03-20 12:08:03 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2015-03-20 21:13:04 +0000 |
commit | 0b40ecf156e309aa17c72a28cd1b0237dbfb8746 (patch) | |
tree | bb9cf33eb2c46bdce1a3dcb2db3e2dba5c4b9e9b /compiler/dex/quick/x86 | |
parent | 157fb9e52b8f11daeec5fbd6286853e0b920c215 (diff) | |
download | art-0b40ecf156e309aa17c72a28cd1b0237dbfb8746.zip art-0b40ecf156e309aa17c72a28cd1b0237dbfb8746.tar.gz art-0b40ecf156e309aa17c72a28cd1b0237dbfb8746.tar.bz2 |
Quick: Clean up slow paths.
Change-Id: I278d42be77b02778c4a419ae9024b37929915b64
Diffstat (limited to 'compiler/dex/quick/x86')
-rw-r--r-- | compiler/dex/quick/x86/call_x86.cc | 2 | ||||
-rwxr-xr-x | compiler/dex/quick/x86/int_x86.cc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/compiler/dex/quick/x86/call_x86.cc b/compiler/dex/quick/x86/call_x86.cc index 11c1465..abee872 100644 --- a/compiler/dex/quick/x86/call_x86.cc +++ b/compiler/dex/quick/x86/call_x86.cc @@ -193,7 +193,7 @@ void X86Mir2Lir::GenEntrySequence(RegLocation* ArgLocs, RegLocation rl_method) { class StackOverflowSlowPath : public LIRSlowPath { public: StackOverflowSlowPath(Mir2Lir* m2l, LIR* branch, size_t sp_displace) - : LIRSlowPath(m2l, m2l->GetCurrentDexPc(), branch, nullptr), sp_displace_(sp_displace) { + : LIRSlowPath(m2l, branch), sp_displace_(sp_displace) { } void Compile() OVERRIDE { m2l_->ResetRegPool(); diff --git a/compiler/dex/quick/x86/int_x86.cc b/compiler/dex/quick/x86/int_x86.cc index 91168c7..25e34e3 100755 --- a/compiler/dex/quick/x86/int_x86.cc +++ b/compiler/dex/quick/x86/int_x86.cc @@ -1412,7 +1412,7 @@ void X86Mir2Lir::GenArrayBoundsCheck(RegStorage index, public: ArrayBoundsCheckSlowPath(Mir2Lir* m2l, LIR* branch_in, RegStorage index_in, RegStorage array_base_in, int32_t len_offset_in) - : LIRSlowPath(m2l, m2l->GetCurrentDexPc(), branch_in), + : LIRSlowPath(m2l, branch_in), index_(index_in), array_base_(array_base_in), len_offset_(len_offset_in) { } @@ -1460,7 +1460,7 @@ void X86Mir2Lir::GenArrayBoundsCheck(int32_t index, public: ArrayBoundsCheckSlowPath(Mir2Lir* m2l, LIR* branch_in, int32_t index_in, RegStorage array_base_in, int32_t len_offset_in) - : LIRSlowPath(m2l, m2l->GetCurrentDexPc(), branch_in), + : LIRSlowPath(m2l, branch_in), index_(index_in), array_base_(array_base_in), len_offset_(len_offset_in) { } |