OSDN Git Service

android-x86/art.git
9 years agoam d83303dd: am f7cf2dcc: am 2eb85431: Merge "ART: Fix arm32 instrumentation exit...
Andreas Gampe [Thu, 25 Jun 2015 05:32:03 +0000 (05:32 +0000)]
am d83303dd: am f7cf2dcc: am 2eb85431: Merge "ART: Fix arm32 instrumentation exit stub" into mnc-dev

* commit 'd83303dd2c0b82756a7fc487a26ad97b8b2a0900':
  ART: Fix arm32 instrumentation exit stub

9 years agoam 0f6b66de: am b8536f95: am 71e46c1a: Fix force copy
Mathieu Chartier [Thu, 25 Jun 2015 05:32:01 +0000 (05:32 +0000)]
am 0f6b66de: am b8536f95: am 71e46c1a: Fix force copy

* commit '0f6b66de19c737e1faa8139e5804757e2a1d78be':
  Fix force copy

9 years agoam f7cf2dcc: am 2eb85431: Merge "ART: Fix arm32 instrumentation exit stub" into mnc-dev
Andreas Gampe [Thu, 25 Jun 2015 05:20:35 +0000 (05:20 +0000)]
am f7cf2dcc: am 2eb85431: Merge "ART: Fix arm32 instrumentation exit stub" into mnc-dev

* commit 'f7cf2dcc9be4f5a553d72a0ee77d12e9b8f87d57':
  ART: Fix arm32 instrumentation exit stub

9 years agoam b8536f95: am 71e46c1a: Fix force copy
Mathieu Chartier [Thu, 25 Jun 2015 05:20:34 +0000 (05:20 +0000)]
am b8536f95: am 71e46c1a: Fix force copy

* commit 'b8536f958cbe5da51862adeb688b61e80013d716':
  Fix force copy

9 years agoam 2eb85431: Merge "ART: Fix arm32 instrumentation exit stub" into mnc-dev
Andreas Gampe [Thu, 25 Jun 2015 05:08:53 +0000 (05:08 +0000)]
am 2eb85431: Merge "ART: Fix arm32 instrumentation exit stub" into mnc-dev

* commit '2eb85431142f5f45f5f5b3dd67dad42bb1dc4a8a':
  ART: Fix arm32 instrumentation exit stub

9 years agoam 71e46c1a: Fix force copy
Mathieu Chartier [Thu, 25 Jun 2015 05:08:44 +0000 (05:08 +0000)]
am 71e46c1a: Fix force copy

* commit '71e46c1a2e1a8c2ef87b6137e8503dd12e18bb8d':
  Fix force copy

9 years agoMerge "ART: Fix arm32 instrumentation exit stub" into mnc-dev
Andreas Gampe [Thu, 25 Jun 2015 04:12:06 +0000 (04:12 +0000)]
Merge "ART: Fix arm32 instrumentation exit stub" into mnc-dev

9 years agoam 944cd1dd: am 3bc5c8ad: am eab80576: Merge "Fix force copy"
Mathieu Chartier [Thu, 25 Jun 2015 03:34:52 +0000 (03:34 +0000)]
am 944cd1dd: am 3bc5c8ad: am eab80576: Merge "Fix force copy"

* commit '944cd1dd92f7775dabe1354f386f4a603de7662a':
  Fix force copy

9 years agoam 3bc5c8ad: am eab80576: Merge "Fix force copy"
Mathieu Chartier [Thu, 25 Jun 2015 03:23:33 +0000 (03:23 +0000)]
am 3bc5c8ad: am eab80576: Merge "Fix force copy"

* commit '3bc5c8ad0ae7b5346f68c5f87d64dd082b850b64':
  Fix force copy

9 years agoam eab80576: Merge "Fix force copy"
Mathieu Chartier [Thu, 25 Jun 2015 03:11:07 +0000 (03:11 +0000)]
am eab80576: Merge "Fix force copy"

* commit 'eab80576240892148d14321c56c8869358e131ab':
  Fix force copy

9 years agoFix force copy
Mathieu Chartier [Thu, 25 Jun 2015 00:04:17 +0000 (17:04 -0700)]
Fix force copy

We now correctly pass the returned pointer back onto the release functions.

Bug: 22056708
Change-Id: I1a7300d3a4522a3c81b432ec742ae1c0bd00b51e

(cherry picked from commit b735bd9c04aa291d0a1bdc2c0a094a1a75ad0596)

9 years agoMerge "Fix force copy"
Mathieu Chartier [Thu, 25 Jun 2015 03:00:33 +0000 (03:00 +0000)]
Merge "Fix force copy"

9 years agoam be5cafe5: resolved conflicts for merge of 684ceef6 to mnc-dev-plus-aosp
Andreas Gampe [Thu, 25 Jun 2015 00:44:32 +0000 (00:44 +0000)]
am be5cafe5: resolved conflicts for merge of 684ceef6 to mnc-dev-plus-aosp

* commit 'be5cafe5feb513189877f14fe241adc6907fe915':
  ART: Correctly hard-fail method with undefined register

9 years agoFix force copy
Mathieu Chartier [Thu, 25 Jun 2015 00:04:17 +0000 (17:04 -0700)]
Fix force copy

We now correctly pass the returned pointer back onto the release functions.

Bug: 22056708
Change-Id: I1a7300d3a4522a3c81b432ec742ae1c0bd00b51e

9 years agoresolved conflicts for merge of 684ceef6 to mnc-dev-plus-aosp
Andreas Gampe [Thu, 25 Jun 2015 00:16:52 +0000 (17:16 -0700)]
resolved conflicts for merge of 684ceef6 to mnc-dev-plus-aosp

Change-Id: If22efef0668537d27632893a476c7b78b07df36b

9 years agoART: Fix arm32 instrumentation exit stub
Andreas Gampe [Wed, 24 Jun 2015 06:28:59 +0000 (23:28 -0700)]
ART: Fix arm32 instrumentation exit stub

Properly store, pass and restore floating point result.

Bug: 22047833
Change-Id: If5d9efbe63334c9b6353f76ce6e4fe519602482a

9 years agoam 1f1d53eb: Merge "ART: Correctly hard-fail method with undefined register"
Andreas Gampe [Wed, 24 Jun 2015 21:43:40 +0000 (21:43 +0000)]
am 1f1d53eb: Merge "ART: Correctly hard-fail method with undefined register"

* commit '1f1d53ebfc7f955c28f8d5659b7811ad6cef8f19':
  ART: Correctly hard-fail method with undefined register

9 years agoMerge "ART: Correctly hard-fail method with undefined register"
Andreas Gampe [Wed, 24 Jun 2015 21:31:01 +0000 (21:31 +0000)]
Merge "ART: Correctly hard-fail method with undefined register"

9 years agoART: Correctly hard-fail method with undefined register
Andreas Gampe [Wed, 24 Jun 2015 17:26:13 +0000 (10:26 -0700)]
ART: Correctly hard-fail method with undefined register

In case a return-object gets an undefined return value register
and an unresolved return type, the "undefined" must take precedence
and lead to a hard fail of the method.

Bug: 22045582
Change-Id: Id5595a72331cd6272aa9ebc8ff3b9cea046294a2

9 years agoam 1bd6cf50: am b43189b2: (-s ours) am 6d20c2e2: Merge "Fix imt conflict trampoline...
Mathieu Chartier [Wed, 24 Jun 2015 21:13:16 +0000 (21:13 +0000)]
am 1bd6cf50: am b43189b2: (-s ours) am 6d20c2e2: Merge "Fix imt conflict trampoline for mips64" into mnc-dev

* commit '1bd6cf50aceea5e028b416407eb9c9a6412c312e':
  Fix imt conflict trampoline for mips64

9 years agoam b43189b2: (-s ours) am 6d20c2e2: Merge "Fix imt conflict trampoline for mips64...
Mathieu Chartier [Wed, 24 Jun 2015 20:55:42 +0000 (20:55 +0000)]
am b43189b2: (-s ours) am 6d20c2e2: Merge "Fix imt conflict trampoline for mips64" into mnc-dev

* commit 'b43189b26f62f2b17569b07ab935ba7344be7433':
  Fix imt conflict trampoline for mips64

9 years agoam 6d20c2e2: Merge "Fix imt conflict trampoline for mips64" into mnc-dev
Mathieu Chartier [Wed, 24 Jun 2015 20:37:06 +0000 (20:37 +0000)]
am 6d20c2e2: Merge "Fix imt conflict trampoline for mips64" into mnc-dev

* commit '6d20c2e2d88de0116203e2d6ba80b996f858abc1':
  Fix imt conflict trampoline for mips64

9 years agoMerge "Fix imt conflict trampoline for mips64" into mnc-dev
Mathieu Chartier [Wed, 24 Jun 2015 20:25:25 +0000 (20:25 +0000)]
Merge "Fix imt conflict trampoline for mips64" into mnc-dev

9 years agoFix imt conflict trampoline for mips64
Mathieu Chartier [Wed, 24 Jun 2015 20:11:06 +0000 (13:11 -0700)]
Fix imt conflict trampoline for mips64

Changed lwu to ld

Bug: 21815962
Change-Id: I137e871d9c00f83cd5efc9d3a87fa05e84dc5d23

9 years agoam fa483461: am 2195ea0f: am 94e7c05f: Increase alt signal stack to 32K on host.
Christopher Ferris [Wed, 24 Jun 2015 19:41:42 +0000 (19:41 +0000)]
am fa483461: am 2195ea0f: am 94e7c05f: Increase alt signal stack to 32K on host.

* commit 'fa48346186cd409e917e62c989ac00bfcadc69bd':
  Increase alt signal stack to 32K on host.

9 years agoam 2195ea0f: am 94e7c05f: Increase alt signal stack to 32K on host.
Christopher Ferris [Wed, 24 Jun 2015 19:29:18 +0000 (19:29 +0000)]
am 2195ea0f: am 94e7c05f: Increase alt signal stack to 32K on host.

* commit '2195ea0faf04c326c655a5e7a2b8aa6e2c54db2d':
  Increase alt signal stack to 32K on host.

9 years agoam 94e7c05f: Increase alt signal stack to 32K on host.
Christopher Ferris [Wed, 24 Jun 2015 19:18:38 +0000 (19:18 +0000)]
am 94e7c05f: Increase alt signal stack to 32K on host.

* commit '94e7c05f11056cc49cb66c752d68069866432d51':
  Increase alt signal stack to 32K on host.

9 years agoIncrease alt signal stack to 32K on host.
Christopher Ferris [Wed, 24 Jun 2015 16:37:39 +0000 (09:37 -0700)]
Increase alt signal stack to 32K on host.

On host, when there is a crash, the code tries to do an unwind
from the signal handler. Under some conditions this can require
a stack larger than 16K, so increase this value to 32K.

The symptom of this is that you get an empty backtrace running
art tests when there is a crash.

Bug: 21949571
(cherry picked from commit e34c71ce21dbc9fac3427df887e90e1311b6fa8e)

Change-Id: Ib1105a3470064d98843bd46f32d4fadb1d20e416

9 years agoam c0ef7622: am 24daa9d5: am 2f233b48: Merge "Adding optimizing compiler test case...
Jeff Hao [Wed, 24 Jun 2015 18:15:32 +0000 (18:15 +0000)]
am c0ef7622: am 24daa9d5: am 2f233b48: Merge "Adding optimizing compiler test case for String.<init>."

* commit 'c0ef76220de355be5cdf4e8696a69f7fdcea5cae':
  Adding optimizing compiler test case for String.<init>.

9 years agoam 24daa9d5: am 2f233b48: Merge "Adding optimizing compiler test case for String...
Jeff Hao [Wed, 24 Jun 2015 17:58:31 +0000 (17:58 +0000)]
am 24daa9d5: am 2f233b48: Merge "Adding optimizing compiler test case for String.<init>."

* commit '24daa9d554d654a1a195d8394af961ae7288bdb8':
  Adding optimizing compiler test case for String.<init>.

9 years agoam 2f233b48: Merge "Adding optimizing compiler test case for String.<init>."
Jeff Hao [Wed, 24 Jun 2015 17:44:56 +0000 (17:44 +0000)]
am 2f233b48: Merge "Adding optimizing compiler test case for String.<init>."

* commit '2f233b481d8423bf09e295fea9608b68f09a1862':
  Adding optimizing compiler test case for String.<init>.

9 years agoam d82faf80: am 784bde8c: am f46e9d76: Merge "Increase alt signal stack to 32K on...
Christopher Ferris [Wed, 24 Jun 2015 17:37:35 +0000 (17:37 +0000)]
am d82faf80: am 784bde8c: am f46e9d76: Merge "Increase alt signal stack to 32K on host."

* commit 'd82faf804f1db7ce59fb01cffa0f631118348aa5':
  Increase alt signal stack to 32K on host.

9 years agoam 3ef120a4: am 65a5cd14: am 466efcc8: Merge "Adding optimizing compiler test case...
Jeff Hao [Wed, 24 Jun 2015 17:37:33 +0000 (17:37 +0000)]
am 3ef120a4: am 65a5cd14: am 466efcc8: Merge "Adding optimizing compiler test case for String.<init>." into mnc-dev

* commit '3ef120a45d75a24e90e08716c5d994196c4592a7':
  Adding optimizing compiler test case for String.<init>.

9 years agoMerge "Adding optimizing compiler test case for String.<init>."
Jeff Hao [Wed, 24 Jun 2015 17:35:32 +0000 (17:35 +0000)]
Merge "Adding optimizing compiler test case for String.<init>."

9 years agoAdding optimizing compiler test case for String.<init>.
Jeff Hao [Wed, 24 Jun 2015 00:34:04 +0000 (17:34 -0700)]
Adding optimizing compiler test case for String.<init>.

Bug: 21991156

(cherry-picked from commit e7c7d8ed18a4e1d2291af78944ff913319ec1f23)

Change-Id: I282edaaa422f393629a09cb807da889422e33fb2

9 years agoam 784bde8c: am f46e9d76: Merge "Increase alt signal stack to 32K on host."
Christopher Ferris [Wed, 24 Jun 2015 17:27:14 +0000 (17:27 +0000)]
am 784bde8c: am f46e9d76: Merge "Increase alt signal stack to 32K on host."

* commit '784bde8cb81142626a8aafebb01a1143a1b7858e':
  Increase alt signal stack to 32K on host.

9 years agoam 65a5cd14: am 466efcc8: Merge "Adding optimizing compiler test case for String...
Jeff Hao [Wed, 24 Jun 2015 17:26:40 +0000 (17:26 +0000)]
am 65a5cd14: am 466efcc8: Merge "Adding optimizing compiler test case for String.<init>." into mnc-dev

* commit '65a5cd14aa7cfe82cf8a2750384b4cfc8ef2201e':
  Adding optimizing compiler test case for String.<init>.

9 years agoam 466efcc8: Merge "Adding optimizing compiler test case for String.<init>." into...
Jeff Hao [Wed, 24 Jun 2015 17:13:46 +0000 (17:13 +0000)]
am 466efcc8: Merge "Adding optimizing compiler test case for String.<init>." into mnc-dev

* commit '466efcc89c7e55bf90d2af0aa92cc5e8fc2bd4f2':
  Adding optimizing compiler test case for String.<init>.

9 years agoam f46e9d76: Merge "Increase alt signal stack to 32K on host."
Christopher Ferris [Wed, 24 Jun 2015 17:13:37 +0000 (17:13 +0000)]
am f46e9d76: Merge "Increase alt signal stack to 32K on host."

* commit 'f46e9d76c1fb99f0bb3a9a68f5b421d29ab25f7a':
  Increase alt signal stack to 32K on host.

9 years agoam e5ed385b: resolved conflicts for merge of 53cb9daa to mnc-dev-plus-aosp
Nicolas Geoffray [Wed, 24 Jun 2015 17:06:36 +0000 (17:06 +0000)]
am e5ed385b: resolved conflicts for merge of 53cb9daa to mnc-dev-plus-aosp

* commit 'e5ed385b52cd7ab081c27923a265df9544c6da69':
  Use a flag from the verifier to know if we should compile.

9 years agoMerge "Adding optimizing compiler test case for String.<init>." into mnc-dev
Jeff Hao [Wed, 24 Jun 2015 17:05:42 +0000 (17:05 +0000)]
Merge "Adding optimizing compiler test case for String.<init>." into mnc-dev

9 years agoMerge "Increase alt signal stack to 32K on host."
Christopher Ferris [Wed, 24 Jun 2015 17:04:28 +0000 (17:04 +0000)]
Merge "Increase alt signal stack to 32K on host."

9 years agoresolved conflicts for merge of 53cb9daa to mnc-dev-plus-aosp
Nicolas Geoffray [Wed, 24 Jun 2015 16:54:40 +0000 (17:54 +0100)]
resolved conflicts for merge of 53cb9daa to mnc-dev-plus-aosp

Change-Id: I4c205a5d152968d9076c21df7282ff643715a8a3

9 years agoam b2673eae: am b5bf1c55: am fdc9af0e: Merge "Use a flag from the verifier to know...
Nicolas Geoffray [Wed, 24 Jun 2015 16:48:03 +0000 (16:48 +0000)]
am b2673eae: am b5bf1c55: am fdc9af0e: Merge "Use a flag from the verifier to know if we should compile."

* commit 'b2673eae8ea8ffc551093369f8322592f9d7bea6':
  Use a flag from the verifier to know if we should compile.

9 years agoIncrease alt signal stack to 32K on host.
Christopher Ferris [Wed, 24 Jun 2015 16:37:39 +0000 (09:37 -0700)]
Increase alt signal stack to 32K on host.

On host, when there is a crash, the code tries to do an unwind
from the signal handler. Under some conditions this can require
a stack larger than 16K, so increase this value to 32K.

The symptom of this is that you get an empty backtrace running
art tests when there is a crash.

Bug: 21949571
Change-Id: I8306da55e35212a0f349e43a7f2ad546e8da8c76

9 years agoam b5bf1c55: am fdc9af0e: Merge "Use a flag from the verifier to know if we should...
Nicolas Geoffray [Wed, 24 Jun 2015 16:40:18 +0000 (16:40 +0000)]
am b5bf1c55: am fdc9af0e: Merge "Use a flag from the verifier to know if we should compile."

* commit 'b5bf1c551d126feba922bc6284a8923ede0bc8ca':
  Use a flag from the verifier to know if we should compile.

9 years agoam 28676346: Use a flag from the verifier to know if we should compile.
Nicolas Geoffray [Wed, 24 Jun 2015 16:34:34 +0000 (16:34 +0000)]
am 28676346: Use a flag from the verifier to know if we should compile.

* commit '286763464072ffb599846f76720c7ec54392ae6e':
  Use a flag from the verifier to know if we should compile.

9 years agoam 61763f46: am 923f49c9: am b5171ff4: BCE: don\'t assume a bounds check always gets...
Nicolas Geoffray [Wed, 24 Jun 2015 16:28:32 +0000 (16:28 +0000)]
am 61763f46: am 923f49c9: am b5171ff4: BCE: don\'t assume a bounds check always gets a HArrayLength.

* commit '61763f46bb2a6d3380aaf941a046e4b7781c4c14':
  BCE: don't assume a bounds check always gets a HArrayLength.

9 years agoam e02fe820: am 9cd358f9: am 0c955b17: Merge "BCE: don\'t assume a bounds check alway...
Nicolas Geoffray [Wed, 24 Jun 2015 16:28:30 +0000 (16:28 +0000)]
am e02fe820: am 9cd358f9: am 0c955b17: Merge "BCE: don\'t assume a bounds check always gets a HArrayLength."

* commit 'e02fe8208b2918d260e58059de49ffc176eee656':
  BCE: don't assume a bounds check always gets a HArrayLength.

9 years agoam 5850e644: am 269a766b: am 0fd292dd: Fix codegen_test after DCE fix.
Nicolas Geoffray [Wed, 24 Jun 2015 16:28:29 +0000 (16:28 +0000)]
am 5850e644: am 269a766b: am 0fd292dd: Fix codegen_test after DCE fix.

* commit '5850e6440cb5cda695e52686f54e31a3e5eb5803':
  Fix codegen_test after DCE fix.

9 years agoam fdc9af0e: Merge "Use a flag from the verifier to know if we should compile."
Nicolas Geoffray [Wed, 24 Jun 2015 16:27:53 +0000 (16:27 +0000)]
am fdc9af0e: Merge "Use a flag from the verifier to know if we should compile."

* commit 'fdc9af0ed76aa1a6efa05b122c9bcfdbb7e1e991':
  Use a flag from the verifier to know if we should compile.

9 years agoam 923f49c9: am b5171ff4: BCE: don\'t assume a bounds check always gets a HArrayLength.
Nicolas Geoffray [Wed, 24 Jun 2015 16:21:40 +0000 (16:21 +0000)]
am 923f49c9: am b5171ff4: BCE: don\'t assume a bounds check always gets a HArrayLength.

* commit '923f49c9a6d9ef8257af03d06e2b09310fa3c9b8':
  BCE: don't assume a bounds check always gets a HArrayLength.

9 years agoUse a flag from the verifier to know if we should compile.
Nicolas Geoffray [Wed, 24 Jun 2015 14:53:03 +0000 (15:53 +0100)]
Use a flag from the verifier to know if we should compile.

Only used for the lack of bottom type in the aget-object case
for now. Could be used for more.

bug:21865466

(cherry picked from commit 4824c27988c8eeb302791624bb3ce1d557b0db6c)

Change-Id: I2bb7fe1d4737bd92c1076b5193607d74d8761ee7

9 years agoam 9cd358f9: am 0c955b17: Merge "BCE: don\'t assume a bounds check always gets a...
Nicolas Geoffray [Wed, 24 Jun 2015 16:15:04 +0000 (16:15 +0000)]
am 9cd358f9: am 0c955b17: Merge "BCE: don\'t assume a bounds check always gets a HArrayLength."

* commit '9cd358f9a81d597792dac4da38dbbcc43bf1b574':
  BCE: don't assume a bounds check always gets a HArrayLength.

9 years agoam 269a766b: am 0fd292dd: Fix codegen_test after DCE fix.
Nicolas Geoffray [Wed, 24 Jun 2015 16:14:35 +0000 (16:14 +0000)]
am 269a766b: am 0fd292dd: Fix codegen_test after DCE fix.

* commit '269a766b786d85e03118af2c0e0a6a7206700c26':
  Fix codegen_test after DCE fix.

9 years agoMerge "Use a flag from the verifier to know if we should compile."
Nicolas Geoffray [Wed, 24 Jun 2015 16:14:30 +0000 (16:14 +0000)]
Merge "Use a flag from the verifier to know if we should compile."

9 years agoam b5171ff4: BCE: don\'t assume a bounds check always gets a HArrayLength.
Nicolas Geoffray [Wed, 24 Jun 2015 16:14:15 +0000 (16:14 +0000)]
am b5171ff4: BCE: don\'t assume a bounds check always gets a HArrayLength.

* commit 'b5171ff4859104a1e314c3091b6bd4872ad7c2b2':
  BCE: don't assume a bounds check always gets a HArrayLength.

9 years agoam e9bea5f0: am 29e83af8: am 18b236e5: Recompute dominator tree after DCE.
Nicolas Geoffray [Wed, 24 Jun 2015 16:08:11 +0000 (16:08 +0000)]
am e9bea5f0: am 29e83af8: am 18b236e5: Recompute dominator tree after DCE.

* commit 'e9bea5f0e6a7d17b83c9b3d80ee304753d2a6301':
  Recompute dominator tree after DCE.

9 years agoam 2320f251: am e62c0362: am 574cce14: BCE: Narrow instead of unconditionnaly overwri...
Nicolas Geoffray [Wed, 24 Jun 2015 16:08:09 +0000 (16:08 +0000)]
am 2320f251: am e62c0362: am 574cce14: BCE: Narrow instead of unconditionnaly overwrite the range.

* commit '2320f251322af3c309f3cd4739351213b464a56f':
  BCE: Narrow instead of unconditionnaly overwrite the range.

9 years agoam 0c955b17: Merge "BCE: don\'t assume a bounds check always gets a HArrayLength."
Nicolas Geoffray [Wed, 24 Jun 2015 16:02:09 +0000 (16:02 +0000)]
am 0c955b17: Merge "BCE: don\'t assume a bounds check always gets a HArrayLength."

* commit '0c955b174bf64707ee0ee03195ed56f9cec26fa2':
  BCE: don't assume a bounds check always gets a HArrayLength.

9 years agoam 0fd292dd: Fix codegen_test after DCE fix.
Nicolas Geoffray [Wed, 24 Jun 2015 16:01:46 +0000 (16:01 +0000)]
am 0fd292dd: Fix codegen_test after DCE fix.

* commit '0fd292ddd463f1acf26b2b17d34d9b5a4ba93985':
  Fix codegen_test after DCE fix.

9 years agoUse a flag from the verifier to know if we should compile.
Nicolas Geoffray [Wed, 24 Jun 2015 14:53:03 +0000 (15:53 +0100)]
Use a flag from the verifier to know if we should compile.

Only used for the lack of bottom type in the aget-object case
for now. Could be used for more.

bug:21865466

Change-Id: I64c2c84dfa1c0d259631e65e5f44b94e4139e6a7

9 years agoam 29e83af8: am 18b236e5: Recompute dominator tree after DCE.
Nicolas Geoffray [Wed, 24 Jun 2015 15:56:26 +0000 (15:56 +0000)]
am 29e83af8: am 18b236e5: Recompute dominator tree after DCE.

* commit '29e83af8d229c779bccb9c281862d938951f520d':
  Recompute dominator tree after DCE.

9 years agoam e62c0362: am 574cce14: BCE: Narrow instead of unconditionnaly overwrite the range.
Nicolas Geoffray [Wed, 24 Jun 2015 15:56:25 +0000 (15:56 +0000)]
am e62c0362: am 574cce14: BCE: Narrow instead of unconditionnaly overwrite the range.

* commit 'e62c03620928b9b331446d9d056cdb019d25a195':
  BCE: Narrow instead of unconditionnaly overwrite the range.

9 years agoam 318d4b67: am 5f5feee6: am 310b0f5f: Fix another case of un-verified dead code.
Nicolas Geoffray [Wed, 24 Jun 2015 15:56:20 +0000 (15:56 +0000)]
am 318d4b67: am 5f5feee6: am 310b0f5f: Fix another case of un-verified dead code.

* commit '318d4b67e2ab6604a99724d8651ce28bcc145bf7':
  Fix another case of un-verified dead code.

9 years agoBCE: don't assume a bounds check always gets a HArrayLength.
Nicolas Geoffray [Wed, 24 Jun 2015 13:57:44 +0000 (14:57 +0100)]
BCE: don't assume a bounds check always gets a HArrayLength.

Deoptimizations may change it to a HPhi.

bug:22056703

(cherry picked from commit 8df886b9214802ad689316a1dedb00a6d102555c)

Change-Id: I8afcf88e3a12dbe4d87101e6a7cefb8b81e2bb96

9 years agoMerge "BCE: don't assume a bounds check always gets a HArrayLength."
Nicolas Geoffray [Wed, 24 Jun 2015 15:51:38 +0000 (15:51 +0000)]
Merge "BCE: don't assume a bounds check always gets a HArrayLength."

9 years agoam 18b236e5: Recompute dominator tree after DCE.
Nicolas Geoffray [Wed, 24 Jun 2015 15:45:38 +0000 (15:45 +0000)]
am 18b236e5: Recompute dominator tree after DCE.

* commit '18b236e5261d2b1f312e632a4d3bb2273c8bf641':
  Recompute dominator tree after DCE.

9 years agoam 574cce14: BCE: Narrow instead of unconditionnaly overwrite the range.
Nicolas Geoffray [Wed, 24 Jun 2015 15:45:37 +0000 (15:45 +0000)]
am 574cce14: BCE: Narrow instead of unconditionnaly overwrite the range.

* commit '574cce14025e153d87ec051926d331c5a39e5f92':
  BCE: Narrow instead of unconditionnaly overwrite the range.

9 years agoam 5f5feee6: am 310b0f5f: Fix another case of un-verified dead code.
Nicolas Geoffray [Wed, 24 Jun 2015 15:44:03 +0000 (15:44 +0000)]
am 5f5feee6: am 310b0f5f: Fix another case of un-verified dead code.

* commit '5f5feee630c155403751abd247512feaa81782c1':
  Fix another case of un-verified dead code.

9 years agoFix codegen_test after DCE fix.
Nicolas Geoffray [Wed, 24 Jun 2015 13:25:09 +0000 (14:25 +0100)]
Fix codegen_test after DCE fix.

(cherry picked from commit ea80942c39cb5e9bc3e38a388583d1646c1e2a3f)

bug:22031382

Change-Id: If410045779adb9e7e611af22c988232b5bf9a902

9 years agoRecompute dominator tree after DCE.
Nicolas Geoffray [Wed, 24 Jun 2015 11:20:24 +0000 (12:20 +0100)]
Recompute dominator tree after DCE.

bug:22031382

(cherry picked from commit 1f82ecc6a0c9f88d03d6d1a6d95eeb8707bd06c1)

Change-Id: I9a74edb185cb806045903dfe9695d9cc1a02e86b

9 years agoam 310b0f5f: Fix another case of un-verified dead code.
Nicolas Geoffray [Wed, 24 Jun 2015 15:29:35 +0000 (15:29 +0000)]
am 310b0f5f: Fix another case of un-verified dead code.

* commit '310b0f5f15ac9ef8fb7ed0a12ff9ba3e4da17033':
  Fix another case of un-verified dead code.

9 years agoBCE: Narrow instead of unconditionnaly overwrite the range.
Nicolas Geoffray [Wed, 24 Jun 2015 09:38:27 +0000 (10:38 +0100)]
BCE: Narrow instead of unconditionnaly overwrite the range.

bug:21862741

(cherry picked from commit a09ff9c11f07863ac57e6120a824f0d20dfaa284)

Change-Id: Ia8e903e09a7f9c2b8ef7cf3522f73f154534b81f

9 years agoFix another case of un-verified dead code.
Nicolas Geoffray [Wed, 24 Jun 2015 11:41:20 +0000 (12:41 +0100)]
Fix another case of un-verified dead code.

bug:22042796
https://code.google.com/p/android/issues/detail?id=178008

(cherry picked from commit 1efcc22cd1895c48adccbe49270d8e8583c2b12d)

Change-Id: I5c0d783e842da39cd3dcbb2f18ccf784e797a64f

9 years agoam 84133e88: am 5a093022: am 22c4edd8: Merge "ART: Run GraphChecker after Builder...
David Brazdil [Wed, 24 Jun 2015 14:47:21 +0000 (14:47 +0000)]
am 84133e88: am 5a093022: am 22c4edd8: Merge "ART: Run GraphChecker after Builder and SsaBuilder"

* commit '84133e88032574a1eea639e470d14646db20fd85':
  ART: Run GraphChecker after Builder and SsaBuilder

9 years agoam 57e5e5bb: am fab3c175: am 2b1bc487: Merge "BCE: Narrow instead of unconditionnaly...
Nicolas Geoffray [Wed, 24 Jun 2015 14:47:20 +0000 (14:47 +0000)]
am 57e5e5bb: am fab3c175: am 2b1bc487: Merge "BCE: Narrow instead of unconditionnaly overwrite the range."

* commit '57e5e5bb482ebf05313870edf6da4df6a420b5d8':
  BCE: Narrow instead of unconditionnaly overwrite the range.

9 years agoam cd73c395: am c0f26302: am b809daaf: Merge "ART: Stop creating a fallthrough block...
David Brazdil [Wed, 24 Jun 2015 14:32:26 +0000 (14:32 +0000)]
am cd73c395: am c0f26302: am b809daaf: Merge "ART: Stop creating a fallthrough block for Goto"

* commit 'cd73c3955717849775bc5b455716811afbf77c91':
  ART: Stop creating a fallthrough block for Goto

9 years agoam 5a093022: am 22c4edd8: Merge "ART: Run GraphChecker after Builder and SsaBuilder"
David Brazdil [Wed, 24 Jun 2015 14:32:18 +0000 (14:32 +0000)]
am 5a093022: am 22c4edd8: Merge "ART: Run GraphChecker after Builder and SsaBuilder"

* commit '5a09302277105505955a17cf0300bea0c11764f6':
  ART: Run GraphChecker after Builder and SsaBuilder

9 years agoam fab3c175: am 2b1bc487: Merge "BCE: Narrow instead of unconditionnaly overwrite...
Nicolas Geoffray [Wed, 24 Jun 2015 14:32:17 +0000 (14:32 +0000)]
am fab3c175: am 2b1bc487: Merge "BCE: Narrow instead of unconditionnaly overwrite the range."

* commit 'fab3c175c80668145bc2b58c7161843c67d85536':
  BCE: Narrow instead of unconditionnaly overwrite the range.

9 years agoam 22c4edd8: Merge "ART: Run GraphChecker after Builder and SsaBuilder"
David Brazdil [Wed, 24 Jun 2015 14:19:57 +0000 (14:19 +0000)]
am 22c4edd8: Merge "ART: Run GraphChecker after Builder and SsaBuilder"

* commit '22c4edd865bfdea29e80a789cef70e8e51d2a3a5':
  ART: Run GraphChecker after Builder and SsaBuilder

9 years agoam 2b1bc487: Merge "BCE: Narrow instead of unconditionnaly overwrite the range."
Nicolas Geoffray [Wed, 24 Jun 2015 14:19:56 +0000 (14:19 +0000)]
am 2b1bc487: Merge "BCE: Narrow instead of unconditionnaly overwrite the range."

* commit '2b1bc487d3fa84e4bac16e85112e5e45682ac0ba':
  BCE: Narrow instead of unconditionnaly overwrite the range.

9 years agoam c0f26302: am b809daaf: Merge "ART: Stop creating a fallthrough block for Goto"
David Brazdil [Wed, 24 Jun 2015 14:19:27 +0000 (14:19 +0000)]
am c0f26302: am b809daaf: Merge "ART: Stop creating a fallthrough block for Goto"

* commit 'c0f26302722638750896c5cc13ba53c431f417e9':
  ART: Stop creating a fallthrough block for Goto

9 years agoMerge "ART: Run GraphChecker after Builder and SsaBuilder"
David Brazdil [Wed, 24 Jun 2015 14:11:45 +0000 (14:11 +0000)]
Merge "ART: Run GraphChecker after Builder and SsaBuilder"

9 years agoMerge "BCE: Narrow instead of unconditionnaly overwrite the range."
Nicolas Geoffray [Wed, 24 Jun 2015 14:10:57 +0000 (14:10 +0000)]
Merge "BCE: Narrow instead of unconditionnaly overwrite the range."

9 years agoBCE: Narrow instead of unconditionnaly overwrite the range.
Nicolas Geoffray [Wed, 24 Jun 2015 09:38:27 +0000 (10:38 +0100)]
BCE: Narrow instead of unconditionnaly overwrite the range.

bug:21862741
Change-Id: Ic1c2d6fa64255623f87af33a297c459cc9080d3c

9 years agoam b809daaf: Merge "ART: Stop creating a fallthrough block for Goto"
David Brazdil [Wed, 24 Jun 2015 14:06:18 +0000 (14:06 +0000)]
am b809daaf: Merge "ART: Stop creating a fallthrough block for Goto"

* commit 'b809daaffdd42dc01457ae06ae83f2d7ebdb5e65':
  ART: Stop creating a fallthrough block for Goto

9 years agoBCE: don't assume a bounds check always gets a HArrayLength.
Nicolas Geoffray [Wed, 24 Jun 2015 13:57:44 +0000 (14:57 +0100)]
BCE: don't assume a bounds check always gets a HArrayLength.

Deoptimizations may change it to a HPhi.

bug:22056703
Change-Id: I8995209438764dac496ed856782b147ba21f93e5

9 years agoART: Run GraphChecker after Builder and SsaBuilder
David Brazdil [Tue, 23 Jun 2015 17:27:30 +0000 (18:27 +0100)]
ART: Run GraphChecker after Builder and SsaBuilder

This patch refactors the way GraphChecker is invoked, utilizing the
same scoping mechanism as pass timing and graph visualizer. Therefore,
GraphChecker will now run not just after instances of HOptimization
but after the builders and reg alloc, too.

Change-Id: I8173b98b79afa95e1fcbf3ac9630a873d7f6c1d4

9 years agoMerge "ART: Stop creating a fallthrough block for Goto"
David Brazdil [Wed, 24 Jun 2015 13:56:48 +0000 (13:56 +0000)]
Merge "ART: Stop creating a fallthrough block for Goto"

9 years agoam c3905766: am 46bccf7f: am 1c7f2f10: Merge "Fix codegen_test after DCE fix."
Nicolas Geoffray [Wed, 24 Jun 2015 13:55:07 +0000 (13:55 +0000)]
am c3905766: am 46bccf7f: am 1c7f2f10: Merge "Fix codegen_test after DCE fix."

* commit 'c3905766bdff890ddfc8873f3a47a27670b1d170':
  Fix codegen_test after DCE fix.

9 years agoam 46bccf7f: am 1c7f2f10: Merge "Fix codegen_test after DCE fix."
Nicolas Geoffray [Wed, 24 Jun 2015 13:43:12 +0000 (13:43 +0000)]
am 46bccf7f: am 1c7f2f10: Merge "Fix codegen_test after DCE fix."

* commit '46bccf7f36ec4f5c38ce04d4a4624aa6464766d0':
  Fix codegen_test after DCE fix.

9 years agoam eb3e40f3: am 5ed81859: am 9dda8f23: Merge "Fix another case of un-verified dead...
Nicolas Geoffray [Wed, 24 Jun 2015 13:36:03 +0000 (13:36 +0000)]
am eb3e40f3: am 5ed81859: am 9dda8f23: Merge "Fix another case of un-verified dead code."

* commit 'eb3e40f3c486c74b519584498e243080700df1be':
  Fix another case of un-verified dead code.

9 years agoam 1c7f2f10: Merge "Fix codegen_test after DCE fix."
Nicolas Geoffray [Wed, 24 Jun 2015 13:35:37 +0000 (13:35 +0000)]
am 1c7f2f10: Merge "Fix codegen_test after DCE fix."

* commit '1c7f2f10230baf7a549af5bfd16fd3f0fb73ba21':
  Fix codegen_test after DCE fix.

9 years agoMerge "Fix codegen_test after DCE fix."
Nicolas Geoffray [Wed, 24 Jun 2015 13:26:22 +0000 (13:26 +0000)]
Merge "Fix codegen_test after DCE fix."

9 years agoFix codegen_test after DCE fix.
Nicolas Geoffray [Wed, 24 Jun 2015 13:25:09 +0000 (14:25 +0100)]
Fix codegen_test after DCE fix.

Change-Id: I16c64abc26c64815da4cb4034276d60e9bfb6996

9 years agoART: Stop creating a fallthrough block for Goto
David Brazdil [Wed, 24 Jun 2015 13:23:56 +0000 (14:23 +0100)]
ART: Stop creating a fallthrough block for Goto

Optimizing's Builder used to create a basic block after a Goto under
the assumption that control flow can fall through.

Bug: 19084197
Change-Id: Id85f31df98a4177466750d3cd0bc8bb74782ca2d

9 years agoam 5ed81859: am 9dda8f23: Merge "Fix another case of un-verified dead code."
Nicolas Geoffray [Wed, 24 Jun 2015 13:23:40 +0000 (13:23 +0000)]
am 5ed81859: am 9dda8f23: Merge "Fix another case of un-verified dead code."

* commit '5ed818596c6a7c455f44925444e0bc976000c447':
  Fix another case of un-verified dead code.

9 years agoam d6b42ad6: am 84dc1cec: am d61d77d6: Merge "Recompute dominator tree after DCE."
Nicolas Geoffray [Wed, 24 Jun 2015 13:17:21 +0000 (13:17 +0000)]
am d6b42ad6: am 84dc1cec: am d61d77d6: Merge "Recompute dominator tree after DCE."

* commit 'd6b42ad6820a1f6c2c71edd83c5a5b5b923ee748':
  Recompute dominator tree after DCE.

9 years agoam 9dda8f23: Merge "Fix another case of un-verified dead code."
Nicolas Geoffray [Wed, 24 Jun 2015 13:12:31 +0000 (13:12 +0000)]
am 9dda8f23: Merge "Fix another case of un-verified dead code."

* commit '9dda8f231bf6aaac3f0397f1fa0cd9d42eb393ed':
  Fix another case of un-verified dead code.