Mercurial > hg > graal-jvmci-8
comparison src/share/vm/compiler/compileBroker.cpp @ 3645:9c2c0a182f13
Ignore that task code field is not set.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Wed, 16 Nov 2011 15:46:39 +0100 |
parents | 5e9645341ec3 |
children | 0e8a2a629afb |
comparison
equal
deleted
inserted
replaced
3642:8093b8a2a76d | 3645:9c2c0a182f13 |
---|---|
1807 | 1807 |
1808 TraceTime t1("compilation", &time); | 1808 TraceTime t1("compilation", &time); |
1809 | 1809 |
1810 compiler(task->comp_level())->compile_method(&ci_env, target, osr_bci); | 1810 compiler(task->comp_level())->compile_method(&ci_env, target, osr_bci); |
1811 | 1811 |
1812 if (!ci_env.failing() && task->code() == NULL) { | 1812 // TODO (tw): Check if this is OK. |
1813 /*if (!ci_env.failing() && task->code() == NULL) { | |
1813 //assert(false, "compiler should always document failure"); | 1814 //assert(false, "compiler should always document failure"); |
1814 // The compiler elected, without comment, not to register a result. | 1815 // The compiler elected, without comment, not to register a result. |
1815 // Do not attempt further compilations of this method. | 1816 // Do not attempt further compilations of this method. |
1816 ci_env.record_method_not_compilable("compile failed", !TieredCompilation); | 1817 ci_env.record_method_not_compilable("compile failed", !TieredCompilation); |
1817 } | 1818 }*/ |
1818 | 1819 |
1819 if (ci_env.failing()) { | 1820 if (ci_env.failing()) { |
1820 // Copy this bit to the enclosing block: | 1821 // Copy this bit to the enclosing block: |
1821 compilable = ci_env.compilable(); | 1822 compilable = ci_env.compilable(); |
1822 if (PrintCompilation) { | 1823 if (PrintCompilation) { |