OSDN Git Service

Simplify HInvokeStatic code generation.
authorNicolas Geoffray <ngeoffray@google.com>
Wed, 16 Apr 2014 16:38:32 +0000 (17:38 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Thu, 17 Apr 2014 13:23:24 +0000 (13:23 +0000)
commitdb928fcc975b431d8a78700c11bd7da21090384a
tree24092c6da3cd3651fc0eaee89d0093ac05afeaed
parente8b2e6e70decca7ce324350c9c03c9a432ed64d6
Simplify HInvokeStatic code generation.

HPushArgument is not needed for now (but might be when we start
optimizing). Also, calling convention for 64bits backend will
require to know more about the argument than the argument's
index. Therefore currently let HInvokeStatic setup the arguments,
which is possible because arguments of a calls are virtual registers
and not instructions.

Change-Id: I8753ed6083aa083c5180ab53b436dc8de4f1fe31
compiler/optimizing/builder.cc
compiler/optimizing/code_generator_arm.cc
compiler/optimizing/code_generator_x86.cc
compiler/optimizing/nodes.h