OSDN Git Service

[x86] Terminate trace if SGET/SPUT have unresolved fields in codegen
authorUdayan Banerji <udayan.banerji@intel.com>
Fri, 29 Mar 2013 20:32:10 +0000 (13:32 -0700)
committerElliott Hughes <enh@google.com>
Mon, 1 Apr 2013 23:09:04 +0000 (16:09 -0700)
commit82c80de14da66b80474b298ae99cbff37cdf9b53
tree25eb810cd3bc5c3070814da57537880d3e5d9596
parent442724597a3db9387c964a652fda6e125413ee7e
[x86] Terminate trace if SGET/SPUT have unresolved fields in codegen

The interpreter doesn't allow SGET/SPUT bytecodes in a trace till the field
is resolved. However, exhaustTrace can pick up bytecodes beyond the trace
sent by the interpreter. Terminate the loop formation if this is seen.

Signed-off-by: Udayan Banerji <udayan.banerji@intel.com>
(cherry picked from commit 4eb6d969de37f9b82aaa4089490900f620e50f46)

Change-Id: If5480640375a5152748e74e00be200d80f313b31
vm/compiler/codegen/x86/LowerGetPut.cpp