OSDN Git Service

1) Move helper creation to separate method, which also computes the maximum outgoing...
authorDavid Sehr <sehr@chromium.org>
Thu, 26 Nov 2015 21:03:50 +0000 (13:03 -0800)
committerDavid Sehr <sehr@chromium.org>
Thu, 26 Nov 2015 21:03:50 +0000 (13:03 -0800)
commit26217e3333150e66fc96aca79c01105906797960
treea32bfed38ce7f8654aaf90a3becf09683c140fc7
parent83f957a1e23ac83ccb086d7d67dd71b7193943ab
1) Move helper creation to separate method, which also computes the maximum outgoing argument size.  The computed size is checked against call lowering's size.
2) Make addProlog use the outgoing argument size and remove the adjustments in lowerCall.
3) Remove AdjustStack instructions and friends.

BUG=
R=jpp@chromium.org, stichnot@chromium.org

Review URL: https://codereview.chromium.org/1472623002 .
30 files changed:
src/IceAssemblerARM32.cpp
src/IceAssemblerARM32.h
src/IceCfgNode.cpp
src/IceInstARM32.cpp
src/IceInstX8632.cpp
src/IceInstX8664.cpp
src/IceInstX86Base.h
src/IceInstX86BaseImpl.h
src/IceTargetLowering.h
src/IceTargetLoweringARM32.cpp
src/IceTargetLoweringX8632.cpp
src/IceTargetLoweringX8632Traits.h
src/IceTargetLoweringX8664.cpp
src/IceTargetLoweringX8664Traits.h
src/IceTargetLoweringX86Base.h
src/IceTargetLoweringX86BaseImpl.h
tests_lit/assembler/x86/sandboxing.ll
tests_lit/llvm2ice_tests/64bit.pnacl.ll
tests_lit/llvm2ice_tests/align-spill-locations.ll
tests_lit/llvm2ice_tests/alloc.ll
tests_lit/llvm2ice_tests/commutativity.ll
tests_lit/llvm2ice_tests/ebp_args.ll
tests_lit/llvm2ice_tests/elf_function_sections.ll
tests_lit/llvm2ice_tests/elf_nodata.ll
tests_lit/llvm2ice_tests/fused-alloca-arg.ll
tests_lit/llvm2ice_tests/fused-alloca.ll
tests_lit/llvm2ice_tests/icmp-with-zero.ll
tests_lit/llvm2ice_tests/int-arg.ll
tests_lit/llvm2ice_tests/nacl-other-intrinsics.ll
tests_lit/llvm2ice_tests/vector-arg.ll