diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2014-09-15 15:33:30 +0000 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2014-09-16 16:18:12 +0100 |
commit | fbc695f9b8e2084697e19c1355ab925f99f0d235 (patch) | |
tree | 03e643aa9b468a512873293528bec93438580bab /compiler/optimizing/codegen_test.cc | |
parent | 3d2d7fb7ad24f4aec681ddc68a9565fa837b97ef (diff) | |
download | android_art-fbc695f9b8e2084697e19c1355ab925f99f0d235.tar.gz android_art-fbc695f9b8e2084697e19c1355ab925f99f0d235.tar.bz2 android_art-fbc695f9b8e2084697e19c1355ab925f99f0d235.zip |
Revert "Revert "Implement suspend checks in new compiler.""
This reverts commit 7e3652c45c30c1f2f840e6088e24e2db716eaea7.
Change-Id: Ib489440c34e41cba9e9e297054f9274f6e81a2d8
Diffstat (limited to 'compiler/optimizing/codegen_test.cc')
-rw-r--r-- | compiler/optimizing/codegen_test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/optimizing/codegen_test.cc b/compiler/optimizing/codegen_test.cc index b9712e148c..7161eed9f9 100644 --- a/compiler/optimizing/codegen_test.cc +++ b/compiler/optimizing/codegen_test.cc @@ -72,6 +72,8 @@ static void TestCode(const uint16_t* data, bool has_result = false, int32_t expe HGraphBuilder builder(&arena); const DexFile::CodeItem* item = reinterpret_cast<const DexFile::CodeItem*>(data); HGraph* graph = builder.BuildGraph(*item); + // Remove suspend checks, they cannot be executed in this context. + RemoveSuspendChecks(graph); ASSERT_NE(graph, nullptr); InternalCodeAllocator allocator; |