Remove redundant --always-full-compiler flag.

R=mstarzinger@chromium.org
BUG=

Review URL: https://codereview.chromium.org/538613006

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23703 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
titzer@chromium.org 2014-09-04 16:29:47 +00:00
parent bb025c1ceb
commit 4923810a68
3 changed files with 1 additions and 8 deletions

View File

@ -321,11 +321,6 @@ OptimizedCompileJob::Status OptimizedCompileJob::CreateGraph() {
// shared function info.
DCHECK(!info()->shared_info()->optimization_disabled());
// Fall back to using the full code generator if it's not possible
// to use the Hydrogen-based optimizing compiler. We already have
// generated code for this from the shared function object.
if (FLAG_always_full_compiler) return AbortOptimization();
// Do not use crankshaft if we need to be able to set break points.
if (isolate()->DebuggerHasBreakPoints()) {
return AbortOptimization(kDebuggerHasBreakPoints);

View File

@ -434,8 +434,6 @@ DEFINE_BOOL(serialize_toplevel, false, "enable caching of toplevel scripts")
// compiler.cc
DEFINE_INT(min_preparse_length, 1024,
"minimum length for automatic enable preparsing")
DEFINE_BOOL(always_full_compiler, false,
"try to use the dedicated run-once backend for all code")
DEFINE_INT(max_opt_count, 10,
"maximum number of optimization attempts before giving up.")

View File

@ -25,7 +25,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Flags: --always-full-compiler
// Flags: --nocrankshaft
var functionToCatch;
var lineNumber;