OSDN Git Service

android-x86/art.git
8 years agoMerge "ART: Fix critical edge checks in GraphChecker" am: ee57104951
David Brazdil [Tue, 10 Nov 2015 13:09:11 +0000 (13:09 +0000)]
Merge "ART: Fix critical edge checks in GraphChecker" am: ee57104951
am: 761f7ca241

* commit '761f7ca2415c6888b0d38184af13b2a9ddf0e1f9':
  ART: Fix critical edge checks in GraphChecker

8 years agoMerge "Revert "Revert "ART: Update DCE to work with try/catch""" am: 83dcccb96f
David Brazdil [Tue, 10 Nov 2015 13:09:03 +0000 (13:09 +0000)]
Merge "Revert "Revert "ART: Update DCE to work with try/catch""" am: 83dcccb96f
am: a20ff4bd51

* commit 'a20ff4bd5118e75316822c424f53a9572a499f8c':
  Revert "Revert "ART: Update DCE to work with try/catch""

8 years agoMerge "ART: Fix critical edge checks in GraphChecker"
David Brazdil [Tue, 10 Nov 2015 13:06:14 +0000 (13:06 +0000)]
Merge "ART: Fix critical edge checks in GraphChecker"
am: ee57104951

* commit 'ee57104951acf3dc5f6343f1d3022e3cd73016f5':
  ART: Fix critical edge checks in GraphChecker

8 years agoMerge "Revert "Revert "ART: Update DCE to work with try/catch"""
David Brazdil [Tue, 10 Nov 2015 13:06:06 +0000 (13:06 +0000)]
Merge "Revert "Revert "ART: Update DCE to work with try/catch"""
am: 83dcccb96f

* commit '83dcccb96ff8424fb4ab46bcda7c422d59a8c135':
  Revert "Revert "ART: Update DCE to work with try/catch""

8 years agoMerge "ART: Fix critical edge checks in GraphChecker"
David Brazdil [Tue, 10 Nov 2015 13:01:50 +0000 (13:01 +0000)]
Merge "ART: Fix critical edge checks in GraphChecker"

8 years agoMerge "Revert "Revert "ART: Update DCE to work with try/catch"""
David Brazdil [Tue, 10 Nov 2015 13:01:28 +0000 (13:01 +0000)]
Merge "Revert "Revert "ART: Update DCE to work with try/catch"""

8 years agoART: Fix critical edge checks in GraphChecker
David Brazdil [Tue, 10 Nov 2015 10:12:41 +0000 (10:12 +0000)]
ART: Fix critical edge checks in GraphChecker

Previous CL I5a13b8bb74509b48f5d628906f7158af007f99ae fixed logic for
splitting critical edges. The same logic is used in GraphChecker when
testing critical edges weren't introduced by a pass. This patch updates
it too.

Bug: 25493695
Bug: 25454012
Change-Id: I56226c82324ee55ae2fbe7262608dd2868d930f1

8 years agoMerge "ART: Add clarifying comment" am: 1963759e84
David Brazdil [Tue, 10 Nov 2015 09:50:23 +0000 (09:50 +0000)]
Merge "ART: Add clarifying comment" am: 1963759e84
am: b2318ed3ee

* commit 'b2318ed3ee45a756d8c211de3b5275bf1ba24ca2':
  ART: Add clarifying comment

8 years agoMerge "ART: Add clarifying comment"
David Brazdil [Tue, 10 Nov 2015 09:48:17 +0000 (09:48 +0000)]
Merge "ART: Add clarifying comment"
am: 1963759e84

* commit '1963759e84664b51b617b00e15728f439895033b':
  ART: Add clarifying comment

8 years agoMerge "ART: Add clarifying comment"
David Brazdil [Tue, 10 Nov 2015 09:46:41 +0000 (09:46 +0000)]
Merge "ART: Add clarifying comment"

8 years agoART: Add clarifying comment
David Brazdil [Tue, 10 Nov 2015 09:43:28 +0000 (09:43 +0000)]
ART: Add clarifying comment

Change-Id: I189ec4cae0aa1a5245a79e86d1ec0592e38eac4a

8 years agoRevert "Revert "ART: Update DCE to work with try/catch""
David Brazdil [Mon, 2 Nov 2015 20:24:55 +0000 (20:24 +0000)]
Revert "Revert "ART: Update DCE to work with try/catch""

The previous CL failed because it did not update inputs of catch phis.
Since phi input indices cannot be easily mapped back to throwing
instructions, this new implementation at least removes catch phi uses
of values defined in the removed blocks to preserve graph consistency.

This reverts commit fb552d7061746f7a90fdd5002696e255e2e15c35.

Change-Id: I63d95915d1ef50e71d3bcf0cd10aaded554035b4

8 years agoMerge "Delete flaky DCHECK" am: 1b87033ed8
Mathieu Chartier [Tue, 10 Nov 2015 03:09:42 +0000 (03:09 +0000)]
Merge "Delete flaky DCHECK" am: 1b87033ed8
am: 9a9a25bca4

* commit '9a9a25bca4bcba80f2c8311ca62c7038f88b5c9b':
  Delete flaky DCHECK

8 years agoMerge "Delete flaky DCHECK"
Mathieu Chartier [Tue, 10 Nov 2015 03:06:40 +0000 (03:06 +0000)]
Merge "Delete flaky DCHECK"
am: 1b87033ed8

* commit '1b87033ed83ba03983b49237da89ce36d319b68e':
  Delete flaky DCHECK

8 years agoMerge "Delete flaky DCHECK"
Mathieu Chartier [Tue, 10 Nov 2015 03:02:58 +0000 (03:02 +0000)]
Merge "Delete flaky DCHECK"

8 years agoDelete flaky DCHECK
Mathieu Chartier [Tue, 10 Nov 2015 03:01:00 +0000 (19:01 -0800)]
Delete flaky DCHECK

Fixes mips build

Change-Id: I738b41f09f3c926f21640e358cf0bd5557167b0e

8 years agoMerge "Fix mac build" am: a5c3e44663
Mathieu Chartier [Tue, 10 Nov 2015 02:56:53 +0000 (02:56 +0000)]
Merge "Fix mac build" am: a5c3e44663
am: f110ba8e99

* commit 'f110ba8e990d9bda372df7717b8613edebd72ac9':
  Fix mac build

8 years agoMerge "Fix mac build"
Mathieu Chartier [Tue, 10 Nov 2015 02:54:25 +0000 (02:54 +0000)]
Merge "Fix mac build"
am: a5c3e44663

* commit 'a5c3e44663c3b9c97fe350b4191cec079738fca3':
  Fix mac build

8 years agoMerge "Fix mac build"
Mathieu Chartier [Tue, 10 Nov 2015 02:51:37 +0000 (02:51 +0000)]
Merge "Fix mac build"

8 years agoFix mac build
Mathieu Chartier [Tue, 10 Nov 2015 02:50:49 +0000 (18:50 -0800)]
Fix mac build

Change-Id: I22bf169f15483e54b97d77ff0887cd1fde428af9

8 years agoMerge "Add low_4gb support to MapFile and MapFileAtAddress" am: ff12923229
Mathieu Chartier [Tue, 10 Nov 2015 02:35:09 +0000 (02:35 +0000)]
Merge "Add low_4gb support to MapFile and MapFileAtAddress" am: ff12923229
am: 9aa8913485

* commit '9aa8913485499b9c736addefe288ba5bd884d368':
  Add low_4gb support to MapFile and MapFileAtAddress

8 years agoMerge "Add low_4gb support to MapFile and MapFileAtAddress"
Mathieu Chartier [Tue, 10 Nov 2015 02:31:49 +0000 (02:31 +0000)]
Merge "Add low_4gb support to MapFile and MapFileAtAddress"
am: ff12923229

* commit 'ff12923229e713c27b9a9588a3fdf8d59475d756':
  Add low_4gb support to MapFile and MapFileAtAddress

8 years agoMerge "Add low_4gb support to MapFile and MapFileAtAddress"
Mathieu Chartier [Tue, 10 Nov 2015 02:07:04 +0000 (02:07 +0000)]
Merge "Add low_4gb support to MapFile and MapFileAtAddress"

8 years agoMerge "Some cleanup for tests 960-965 build scripts." am: 02c330f6af
Alex Light [Tue, 10 Nov 2015 01:41:53 +0000 (01:41 +0000)]
Merge "Some cleanup for tests 960-965 build scripts." am: 02c330f6af
am: 60d852bdf4

* commit '60d852bdf48a4ca823c9b597efe923b421c68f2c':
  Some cleanup for tests 960-965 build scripts.

8 years agoMerge "Some cleanup for tests 960-965 build scripts."
Alex Light [Tue, 10 Nov 2015 01:39:51 +0000 (01:39 +0000)]
Merge "Some cleanup for tests 960-965 build scripts."
am: 02c330f6af

* commit '02c330f6afdb2a528fc5d6c54a5fd683ddaa219f':
  Some cleanup for tests 960-965 build scripts.

8 years agoMerge "Some cleanup for tests 960-965 build scripts."
Alex Light [Tue, 10 Nov 2015 01:36:31 +0000 (01:36 +0000)]
Merge "Some cleanup for tests 960-965 build scripts."

8 years agoAdd low_4gb support to MapFile and MapFileAtAddress
Mathieu Chartier [Mon, 9 Nov 2015 23:16:56 +0000 (15:16 -0800)]
Add low_4gb support to MapFile and MapFileAtAddress

Motivation is to use this for loading app images in low 4GB at a
non fixed address.

Added test.

Bug: 22858531
Change-Id: I0f79a4a7bfbfbdfc112e41b25c8682b1fb932ab7

8 years agoSome cleanup for tests 960-965 build scripts.
Alex Light [Mon, 9 Nov 2015 22:26:35 +0000 (14:26 -0800)]
Some cleanup for tests 960-965 build scripts.

Make all 96* build scripts consistent and update 965 to build and run
with jack.

Change-Id: If27ee9c92880c75307a18b054ba926670877073a

8 years agoMerge "ART: Rerun the verifier for compile-time failures" am: 78232f2482
Andreas Gampe [Mon, 9 Nov 2015 21:33:39 +0000 (21:33 +0000)]
Merge "ART: Rerun the verifier for compile-time failures" am: 78232f2482
am: 94dec48441

* commit '94dec484413d0b43afe38a61deacee342cd4c5fc':
  ART: Rerun the verifier for compile-time failures

8 years agoMerge "ART: Rerun the verifier for compile-time failures"
Andreas Gampe [Mon, 9 Nov 2015 21:30:04 +0000 (21:30 +0000)]
Merge "ART: Rerun the verifier for compile-time failures"
am: 78232f2482

* commit '78232f2482e71fef255796633da68bb769baa93a':
  ART: Rerun the verifier for compile-time failures

8 years agoMerge "ART: Rerun the verifier for compile-time failures"
Andreas Gampe [Mon, 9 Nov 2015 21:25:47 +0000 (21:25 +0000)]
Merge "ART: Rerun the verifier for compile-time failures"

8 years agoMerge "Class Linker: Implement default interface verification ordering." am: f1584a6f52
Alex Light [Mon, 9 Nov 2015 19:34:15 +0000 (19:34 +0000)]
Merge "Class Linker: Implement default interface verification ordering." am: f1584a6f52
am: 611fd5d6df

* commit '611fd5d6df61f03604a8fcc2d5a47cceb82aad26':
  Class Linker: Implement default interface verification ordering.

8 years agoMerge "Class Linker: Implement default interface verification ordering."
Alex Light [Mon, 9 Nov 2015 19:32:21 +0000 (19:32 +0000)]
Merge "Class Linker: Implement default interface verification ordering."
am: f1584a6f52

* commit 'f1584a6f5251892509097c3bb30bd91d36634d0a':
  Class Linker: Implement default interface verification ordering.

8 years agoMerge "Class Linker: Implement default interface verification ordering."
Alex Light [Mon, 9 Nov 2015 19:30:10 +0000 (19:30 +0000)]
Merge "Class Linker: Implement default interface verification ordering."

8 years agoClass Linker: Implement default interface verification ordering.
Alex Light [Wed, 7 Oct 2015 23:08:36 +0000 (16:08 -0700)]
Class Linker: Implement default interface verification ordering.

We ensure that default interface verification failure is propagated to
the implementing class so that the compiler is able to properly handle
verification failures. Furthermore we ensure that default interfaces
are verified at the same time their implementing classes are.

This does not add additional support for default methods to the verifier.

This adds a basic test of this functionality.

Previously assumptions made about the order of verification in our
code could cause a check failure during compilation. Our old code
assumed that all code that would be run during a classes
initialization had been verified before any of it was run. The default
interfaces broke this assumption. Now we will simply verify default
interfaces with any classes that implement them.

Bug: 24618811

Change-Id: Ia11a50a28889dbd7ca22ffa730ef443e39f3cb5b

8 years agoART: Rerun the verifier for compile-time failures
Andreas Gampe [Fri, 6 Nov 2015 04:39:56 +0000 (20:39 -0800)]
ART: Rerun the verifier for compile-time failures

To aid app failure diagnosis, by default re-run the verifier at
runtime to compute a better VerifyError message.

Rewrite the verifier driver code to pass the last actual low-level
verifier message.

Bug: 25432718
Change-Id: Ib8e6dd1ce8121045c0d38f54969100094c3dde6e

8 years agoMerge "Add more image writer comments and clean up" am: 3c58937626
Mathieu Chartier [Mon, 9 Nov 2015 18:12:34 +0000 (18:12 +0000)]
Merge "Add more image writer comments and clean up" am: 3c58937626
am: 0500e8033c

* commit '0500e8033caf6d3456cbca2616fff72df8208ac8':
  Add more image writer comments and clean up

8 years agoMerge "Add more image writer comments and clean up"
Mathieu Chartier [Mon, 9 Nov 2015 18:09:43 +0000 (18:09 +0000)]
Merge "Add more image writer comments and clean up"
am: 3c58937626

* commit '3c5893762675d90697d9205b76dc24e2d04e27ca':
  Add more image writer comments and clean up

8 years agoMerge "Add more image writer comments and clean up"
Mathieu Chartier [Mon, 9 Nov 2015 18:07:01 +0000 (18:07 +0000)]
Merge "Add more image writer comments and clean up"

8 years agoAdd more image writer comments and clean up
Mathieu Chartier [Fri, 6 Nov 2015 00:33:15 +0000 (16:33 -0800)]
Add more image writer comments and clean up

Bug: 22858531

Change-Id: Ia3663856a7d9f67d9d9af329a54707ae2dc55a48

8 years agoMerge "Revert "Revert "Revert "Use Jack lang dev version for compiling art tests...
Nicolas Geoffray [Mon, 9 Nov 2015 14:29:18 +0000 (14:29 +0000)]
Merge "Revert "Revert "Revert "Use Jack lang dev version for compiling art tests"""" am: ce0f43b97f
am: 6161fd8f55

* commit '6161fd8f55cd52dbc52ae204f9c808cc6c336423':
  Revert "Revert "Revert "Use Jack lang dev version for compiling art tests"""

8 years agoMerge "Revert "Revert "Revert "Use Jack lang dev version for compiling art tests""""
Nicolas Geoffray [Mon, 9 Nov 2015 14:27:11 +0000 (14:27 +0000)]
Merge "Revert "Revert "Revert "Use Jack lang dev version for compiling art tests""""
am: ce0f43b97f

* commit 'ce0f43b97ffb5e4d14c5df6607d8efb46a5dc9d2':
  Revert "Revert "Revert "Use Jack lang dev version for compiling art tests"""

8 years agoMerge "Revert "Revert "Revert "Use Jack lang dev version for compiling art tests""""
Nicolas Geoffray [Mon, 9 Nov 2015 14:25:19 +0000 (14:25 +0000)]
Merge "Revert "Revert "Revert "Use Jack lang dev version for compiling art tests""""

8 years agoMerge "Optimizing: Rewrite search for common dominators." am: 31f1584b6b
Vladimir Marko [Mon, 9 Nov 2015 14:03:39 +0000 (14:03 +0000)]
Merge "Optimizing: Rewrite search for common dominators." am: 31f1584b6b
am: 41dbd46c9a

* commit '41dbd46c9a58cbaaeb853f19d33adffb1ce3661e':
  Optimizing: Rewrite search for common dominators.

8 years agoRevert "Revert "Revert "Use Jack lang dev version for compiling art tests"""
Nicolas Geoffray [Mon, 9 Nov 2015 14:00:28 +0000 (14:00 +0000)]
Revert "Revert "Revert "Use Jack lang dev version for compiling art tests"""

Breaks 962 and 963 run-tests.

This reverts commit a6017d8fa6acfa35f6fad8169162f0e5bd034bc4.

Change-Id: I185e803640309f0055e6a3d767da201527b523e2

8 years agoMerge "Optimizing: Rewrite search for common dominators."
Vladimir Marko [Mon, 9 Nov 2015 13:59:29 +0000 (13:59 +0000)]
Merge "Optimizing: Rewrite search for common dominators."
am: 31f1584b6b

* commit '31f1584b6bc3fc39dfb396edb24ec42f193f587c':
  Optimizing: Rewrite search for common dominators.

8 years agoMerge "Optimizing: Rewrite search for common dominators."
Vladimir Marko [Mon, 9 Nov 2015 13:53:13 +0000 (13:53 +0000)]
Merge "Optimizing: Rewrite search for common dominators."

8 years agoOptimizing: Rewrite search for common dominators.
Vladimir Marko [Fri, 6 Nov 2015 11:02:08 +0000 (11:02 +0000)]
Optimizing: Rewrite search for common dominators.

Provide a utility class that can be used to quickly search
for common dominators of two or more blocks. Change the
algorithm to avoid memory allocations.

Change-Id: Id72c975fc42377cb7622902f87c4262ea7b3cc38

8 years agoMerge "Fix mip64 build: hide current method input only if it exists." am: 934ea11065
Vladimir Marko [Mon, 9 Nov 2015 13:40:00 +0000 (13:40 +0000)]
Merge "Fix mip64 build: hide current method input only if it exists." am: 934ea11065
am: c0b87bf729

* commit 'c0b87bf72955c451ed17e98366576f553b63d95f':
  Fix mip64 build: hide current method input only if it exists.

8 years agoMerge "Fix mip64 build: hide current method input only if it exists."
Vladimir Marko [Mon, 9 Nov 2015 13:36:56 +0000 (13:36 +0000)]
Merge "Fix mip64 build: hide current method input only if it exists."
am: 934ea11065

* commit '934ea11065c0806d3f57a632fac9032707afbfc6':
  Fix mip64 build: hide current method input only if it exists.

8 years agoMerge "Fix mip64 build: hide current method input only if it exists."
Vladimir Marko [Mon, 9 Nov 2015 13:32:35 +0000 (13:32 +0000)]
Merge "Fix mip64 build: hide current method input only if it exists."

8 years agoFix mip64 build: hide current method input only if it exists.
Vladimir Marko [Mon, 9 Nov 2015 12:54:16 +0000 (12:54 +0000)]
Fix mip64 build: hide current method input only if it exists.

Change-Id: I7d3cb34843d421babfb1f93469e770c05ee8d5a9

8 years agoMerge "ART: Fix critical edge splitting under try/catch" am: f11f5ebe32
David Brazdil [Mon, 9 Nov 2015 12:51:24 +0000 (12:51 +0000)]
Merge "ART: Fix critical edge splitting under try/catch" am: f11f5ebe32
am: c11209143b

* commit 'c11209143ba9ae022da44f4e347ac39179627473':
  ART: Fix critical edge splitting under try/catch

8 years agoMerge "ART: Fix critical edge splitting under try/catch"
David Brazdil [Mon, 9 Nov 2015 12:49:26 +0000 (12:49 +0000)]
Merge "ART: Fix critical edge splitting under try/catch"
am: f11f5ebe32

* commit 'f11f5ebe321fde9f6efb49d75b861606391b6502':
  ART: Fix critical edge splitting under try/catch

8 years agoMerge "Revert "Revert "Use Jack lang dev version for compiling art tests""" am: df702...
Nicolas Geoffray [Mon, 9 Nov 2015 12:47:34 +0000 (12:47 +0000)]
Merge "Revert "Revert "Use Jack lang dev version for compiling art tests""" am: df7029f225
am: bbb53e9501

* commit 'bbb53e950101dad60c6b44c5a2c5c331f9b18c25':
  Revert "Revert "Use Jack lang dev version for compiling art tests""

8 years agoMerge "ART: Fix critical edge splitting under try/catch"
David Brazdil [Mon, 9 Nov 2015 12:47:19 +0000 (12:47 +0000)]
Merge "ART: Fix critical edge splitting under try/catch"

8 years agoMerge "Revert "Revert "Use Jack lang dev version for compiling art tests"""
Nicolas Geoffray [Mon, 9 Nov 2015 12:45:50 +0000 (12:45 +0000)]
Merge "Revert "Revert "Use Jack lang dev version for compiling art tests"""
am: df7029f225

* commit 'df7029f2254f67230362c4bdfaddac00c342e660':
  Revert "Revert "Use Jack lang dev version for compiling art tests""

8 years agoMerge "Revert "Revert "Use Jack lang dev version for compiling art tests"""
Nicolas Geoffray [Mon, 9 Nov 2015 12:44:51 +0000 (12:44 +0000)]
Merge "Revert "Revert "Use Jack lang dev version for compiling art tests"""

8 years agoMerge "Fix build: lint error in elf_builder.h" am: 44612873bb
David Srbecky [Mon, 9 Nov 2015 12:02:11 +0000 (12:02 +0000)]
Merge "Fix build: lint error in elf_builder.h" am: 44612873bb
am: 94fcbf7efd

* commit '94fcbf7efd00122ecd2b1ce76b69182b5e209a9c':
  Fix build: lint error in elf_builder.h

8 years agoMerge "Fix build: lint error in elf_builder.h"
David Srbecky [Mon, 9 Nov 2015 12:00:22 +0000 (12:00 +0000)]
Merge "Fix build: lint error in elf_builder.h"
am: 44612873bb

* commit '44612873bb02be8a59e16aa50f61cce9e9cc9547':
  Fix build: lint error in elf_builder.h

8 years agoMerge "Fix build: lint error in elf_builder.h"
David Srbecky [Mon, 9 Nov 2015 11:58:43 +0000 (11:58 +0000)]
Merge "Fix build: lint error in elf_builder.h"

8 years agoFix build: lint error in elf_builder.h
David Srbecky [Mon, 9 Nov 2015 11:56:52 +0000 (11:56 +0000)]
Fix build: lint error in elf_builder.h

Change-Id: I862bfe6c9a9f6ec3c16af2a720ce2ca75492e574

8 years agoMerge "Rewrite ElfBuilder to make streaming directly to file easier." am: 03771d84e8
David Srbecky [Mon, 9 Nov 2015 11:34:13 +0000 (11:34 +0000)]
Merge "Rewrite ElfBuilder to make streaming directly to file easier." am: 03771d84e8
am: 01fbff1852

* commit '01fbff1852043a3b5592b88a7df91e4cfa50c79b':
  Rewrite ElfBuilder to make streaming directly to file easier.

8 years agoMerge "Rewrite ElfBuilder to make streaming directly to file easier."
David Srbecky [Mon, 9 Nov 2015 11:32:30 +0000 (11:32 +0000)]
Merge "Rewrite ElfBuilder to make streaming directly to file easier."
am: 03771d84e8

* commit '03771d84e83738313e5ccc0ce64bfccb1febd1b4':
  Rewrite ElfBuilder to make streaming directly to file easier.

8 years agoMerge "Rewrite ElfBuilder to make streaming directly to file easier."
David Srbecky [Mon, 9 Nov 2015 11:30:31 +0000 (11:30 +0000)]
Merge "Rewrite ElfBuilder to make streaming directly to file easier."

8 years agoART: Fix critical edge splitting under try/catch
David Brazdil [Fri, 6 Nov 2015 01:36:20 +0000 (01:36 +0000)]
ART: Fix critical edge splitting under try/catch

A critical edge would not be split if the predecessor ends with
TryBoundary. This would eventually trip liveness analysis because
a back edge block would have smaller liveness position than a nested
loop.

Another implication of this change is that an edge between a loop's
pre-header ending with TryBoundary and the header will be split,
guaranteeing that a pre-header always has just one successor.

Bug: 25493695
Bug: 25454012
Change-Id: I5a13b8bb74509b48f5d628906f7158af007f99ae

8 years agoMerge "Optimizing: Remove unused ArtMethod* input from HInvokeStaticOrDirect." am...
Vladimir Marko [Mon, 9 Nov 2015 10:18:07 +0000 (10:18 +0000)]
Merge "Optimizing: Remove unused ArtMethod* input from HInvokeStaticOrDirect." am: 3e5b3c982a
am: 5dfa8a54a6

* commit '5dfa8a54a6a78ae2c409cfa4d6a232fb75b9cfc6':
  Optimizing: Remove unused ArtMethod* input from HInvokeStaticOrDirect.

8 years agoMerge "Optimizing: Remove unused ArtMethod* input from HInvokeStaticOrDirect."
Vladimir Marko [Mon, 9 Nov 2015 10:16:23 +0000 (10:16 +0000)]
Merge "Optimizing: Remove unused ArtMethod* input from HInvokeStaticOrDirect."
am: 3e5b3c982a

* commit '3e5b3c982a5837384829ffd6726c5a30714cbfcb':
  Optimizing: Remove unused ArtMethod* input from HInvokeStaticOrDirect.

8 years agoMerge "Optimizing: Remove unused ArtMethod* input from HInvokeStaticOrDirect."
Vladimir Marko [Mon, 9 Nov 2015 10:14:35 +0000 (10:14 +0000)]
Merge "Optimizing: Remove unused ArtMethod* input from HInvokeStaticOrDirect."

8 years agoMerge "Remove unused variable." am: 2649cba0fb
Nicolas Geoffray [Mon, 9 Nov 2015 09:21:33 +0000 (09:21 +0000)]
Merge "Remove unused variable." am: 2649cba0fb
am: 8e1aad2bb9

* commit '8e1aad2bb90119e2726f3d6f13e43181960fda36':
  Remove unused variable.

8 years agoMerge "Remove unused variable."
Nicolas Geoffray [Mon, 9 Nov 2015 09:19:54 +0000 (09:19 +0000)]
Merge "Remove unused variable."
am: 2649cba0fb

* commit '2649cba0fb7cdbd8fa60cb4f2fb320fb2b18ee37':
  Remove unused variable.

8 years agoMerge "Remove unused variable."
Nicolas Geoffray [Mon, 9 Nov 2015 09:19:05 +0000 (09:19 +0000)]
Merge "Remove unused variable."

8 years agoRemove unused variable.
Nicolas Geoffray [Mon, 9 Nov 2015 09:15:15 +0000 (09:15 +0000)]
Remove unused variable.

Change-Id: I29d80004eba897b72304ec83fe89ed1071a24024

8 years agoMerge "Fix interaction between JIT and instrumentation." am: dc18417745
Nicolas Geoffray [Mon, 9 Nov 2015 09:01:13 +0000 (09:01 +0000)]
Merge "Fix interaction between JIT and instrumentation." am: dc18417745
am: 8aee1b147b

* commit '8aee1b147b35825c66689a8b7881a20141fcd54f':
  Fix interaction between JIT and instrumentation.

8 years agoMerge "Fix interaction between JIT and instrumentation."
Nicolas Geoffray [Mon, 9 Nov 2015 08:59:12 +0000 (08:59 +0000)]
Merge "Fix interaction between JIT and instrumentation."
am: dc18417745

* commit 'dc184177452ed438718befccd9d984cc93de51cc':
  Fix interaction between JIT and instrumentation.

8 years agoMerge "Fix interaction between JIT and instrumentation."
Nicolas Geoffray [Mon, 9 Nov 2015 08:57:28 +0000 (08:57 +0000)]
Merge "Fix interaction between JIT and instrumentation."

8 years agoRewrite ElfBuilder to make streaming directly to file easier.
David Srbecky [Mon, 26 Oct 2015 10:57:09 +0000 (10:57 +0000)]
Rewrite ElfBuilder to make streaming directly to file easier.

The previous design required knowing all the sections and their
sizes before even the first byte of the file was written.

The new design allows sections to be written one by one without
any knowledge of later sections.  Furthermore, as soon as
section is started, its virtual memory address is known,
which removes the need for the various patching passes.

The new ElfBuilder essentially tries to be a thin wrapper
around OutputStream which keeps track where the various
sections start/end and then writes their ELF headers.

Change-Id: I817e7f3b41882e4e4b9b442cfe56e4ef2e26babd

8 years agoMerge "MIPS64: small improvements in code generation" am: 2264f624e4
Nicolas Geoffray [Sat, 7 Nov 2015 14:20:45 +0000 (14:20 +0000)]
Merge "MIPS64: small improvements in code generation" am: 2264f624e4
am: 6bc2b57798

* commit '6bc2b577986d77107b283762e477d3e98e2a7f6e':
  MIPS64: small improvements in code generation

8 years agoMerge "MIPS64: small improvements in code generation"
Nicolas Geoffray [Sat, 7 Nov 2015 14:18:18 +0000 (14:18 +0000)]
Merge "MIPS64: small improvements in code generation"
am: 2264f624e4

* commit '2264f624e41acf09b17c3961bd52966e43f2b58f':
  MIPS64: small improvements in code generation

8 years agoMerge "MIPS64: Improve integer division by constants" am: 4202a2ff49
Nicolas Geoffray [Sat, 7 Nov 2015 14:18:18 +0000 (14:18 +0000)]
Merge "MIPS64: Improve integer division by constants" am: 4202a2ff49
am: 6b3db0b58e

* commit '6b3db0b58e0e72c5945339b2e8989398cf2424d2':
  MIPS64: Improve integer division by constants

8 years agoMerge "MIPS64: small improvements in code generation"
Nicolas Geoffray [Sat, 7 Nov 2015 14:15:46 +0000 (14:15 +0000)]
Merge "MIPS64: small improvements in code generation"

8 years agoMerge "MIPS64: Improve integer division by constants"
Nicolas Geoffray [Sat, 7 Nov 2015 14:15:46 +0000 (14:15 +0000)]
Merge "MIPS64: Improve integer division by constants"
am: 4202a2ff49

* commit '4202a2ff49d77eda813052d091675bf53c46cb0f':
  MIPS64: Improve integer division by constants

8 years agoMerge "MIPS64: Improve integer division by constants"
Nicolas Geoffray [Sat, 7 Nov 2015 14:13:58 +0000 (14:13 +0000)]
Merge "MIPS64: Improve integer division by constants"

8 years agoMerge "ART: Fix return-object verification" am: ba34e70223
Andreas Gampe [Sat, 7 Nov 2015 01:14:46 +0000 (01:14 +0000)]
Merge "ART: Fix return-object verification" am: ba34e70223
am: 1301a1b9fd

* commit '1301a1b9fd4f6a72fe71421b1034743bc62a9c2f':
  ART: Fix return-object verification

8 years agoMerge "ART: Fix return-object verification"
Andreas Gampe [Sat, 7 Nov 2015 01:12:11 +0000 (01:12 +0000)]
Merge "ART: Fix return-object verification"
am: ba34e70223

* commit 'ba34e7022325250e453f52bb26eae7c9e0c92206':
  ART: Fix return-object verification

8 years agoMerge "ART: Fix return-object verification"
Andreas Gampe [Sat, 7 Nov 2015 01:07:27 +0000 (01:07 +0000)]
Merge "ART: Fix return-object verification"

8 years agoART: Fix return-object verification
Andreas Gampe [Sat, 7 Nov 2015 00:24:49 +0000 (16:24 -0800)]
ART: Fix return-object verification

If the declared return type was unresolvable, we always threw a
soft failure, only. However, if the register type is not a reference,
this should always be a hard failure.

Add a test case.

Bug: 25494456
Change-Id: I6482a45ec36b58895816647da0ff3a731b31319f

8 years agoMerge "Use _exit instead of exit after exec fails" am: 8249eac33f
Brian Carlstrom [Fri, 6 Nov 2015 23:19:46 +0000 (23:19 +0000)]
Merge "Use _exit instead of exit after exec fails" am: 8249eac33f
am: ba41085059

* commit 'ba41085059d74f0c2e07d562a982ee6304eed398':
  Use _exit instead of exit after exec fails

8 years agoMerge "Use _exit instead of exit after exec fails"
Brian Carlstrom [Fri, 6 Nov 2015 23:17:30 +0000 (23:17 +0000)]
Merge "Use _exit instead of exit after exec fails"
am: 8249eac33f

* commit '8249eac33fc9e97e361adfbaceb733d9d2ed514b':
  Use _exit instead of exit after exec fails

8 years agoMerge "Use _exit instead of exit after exec fails"
Brian Carlstrom [Fri, 6 Nov 2015 23:16:22 +0000 (23:16 +0000)]
Merge "Use _exit instead of exit after exec fails"

8 years agoMerge "Revert "Mark __jit_debug_register_code as a unique symbol"" am: 5729f5b897
Andreas Gampe [Fri, 6 Nov 2015 21:36:34 +0000 (21:36 +0000)]
Merge "Revert "Mark __jit_debug_register_code as a unique symbol"" am: 5729f5b897
am: 4fa1ab287b

* commit '4fa1ab287bfb352b9aea5b7a7c3662c8a7318f21':
  Revert "Mark __jit_debug_register_code as a unique symbol"

8 years agoMerge "Revert "Mark __jit_debug_register_code as a unique symbol""
Andreas Gampe [Fri, 6 Nov 2015 21:32:20 +0000 (21:32 +0000)]
Merge "Revert "Mark __jit_debug_register_code as a unique symbol""
am: 5729f5b897

* commit '5729f5b897ffba17dacf5bff105f4ae2d101209b':
  Revert "Mark __jit_debug_register_code as a unique symbol"

8 years agoMerge "Revert "Mark __jit_debug_register_code as a unique symbol""
Andreas Gampe [Fri, 6 Nov 2015 21:28:39 +0000 (21:28 +0000)]
Merge "Revert "Mark __jit_debug_register_code as a unique symbol""

8 years agoRevert "Mark __jit_debug_register_code as a unique symbol"
Andreas Gampe [Fri, 6 Nov 2015 21:27:49 +0000 (21:27 +0000)]
Revert "Mark __jit_debug_register_code as a unique symbol"

This reverts commit 5caf652d7bfb43bdd2f3addfe8021a5fb8e3f796.

Something's going wrong on the Mac host side, even though this should be target only.

Change-Id: I165f23ee25cb1c4b0732e1d1afcae75271abcb09

8 years agoMIPS64: small improvements in code generation
Alexey Frunze [Thu, 24 Sep 2015 21:41:59 +0000 (14:41 -0700)]
MIPS64: small improvements in code generation

Specifically:
- More efficient load/store of constant 0 (and +0.0)
- Improved swapping of floats/doubles in registers
- Use kNoOutputOverlap wherever possible
- More efficient 64-bit integer comparison with 0
- More efficient load of integer constants of the form (2**n)-1

Change-Id: Ic2914d8865aa6616b9a0b21b3cc173d4477eb8c7

8 years agoMIPS64: Improve integer division by constants
Alexey Frunze [Wed, 23 Sep 2015 22:12:39 +0000 (15:12 -0700)]
MIPS64: Improve integer division by constants

This also removes some unused instructions and instructions not
available on MIPS64R6.

Change-Id: I44bfe12c60344312c88c45e97b6b07dcd5bdc630

8 years agoOptimizing: Remove unused ArtMethod* input from HInvokeStaticOrDirect.
Vladimir Marko [Fri, 6 Nov 2015 12:57:55 +0000 (12:57 +0000)]
Optimizing: Remove unused ArtMethod* input from HInvokeStaticOrDirect.

Change-Id: Iea99fa683440673ff517e246f35fade96600f229

8 years agoMerge "ART: Fix simplification of catch blocks in the presence of dead code" am:...
David Brazdil [Fri, 6 Nov 2015 19:40:51 +0000 (19:40 +0000)]
Merge "ART: Fix simplification of catch blocks in the presence of dead code" am: b203aad7a0
am: e7106f2080

* commit 'e7106f2080aace9e7855e18d212d34b22fc2a6b3':
  ART: Fix simplification of catch blocks in the presence of dead code

8 years agoMerge "ART: Fix simplification of catch blocks in the presence of dead code"
David Brazdil [Fri, 6 Nov 2015 19:38:48 +0000 (19:38 +0000)]
Merge "ART: Fix simplification of catch blocks in the presence of dead code"
am: b203aad7a0

* commit 'b203aad7a0db904efa8429d48b53e56583f61ec2':
  ART: Fix simplification of catch blocks in the presence of dead code

8 years agoMerge "ART: Fix simplification of catch blocks in the presence of dead code"
David Brazdil [Fri, 6 Nov 2015 19:36:29 +0000 (19:36 +0000)]
Merge "ART: Fix simplification of catch blocks in the presence of dead code"