From 9463c00d64bb75b39e5dce081590f9fd09a45bdb Mon Sep 17 00:00:00 2001 From: "kmillikin@chromium.org" Date: Wed, 8 Feb 2012 09:55:25 +0000 Subject: [PATCH] Remove unused --peephole-optimization flag. R=danno@chromium.org BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9361022 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10630 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/flag-definitions.h | 2 -- src/v8.cc | 5 +---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/flag-definitions.h b/src/flag-definitions.h index 50086fb..c5955b4 100644 --- a/src/flag-definitions.h +++ b/src/flag-definitions.h @@ -168,8 +168,6 @@ DEFINE_int(loop_weight, 1, "loop weight for representation inference") DEFINE_bool(debug_code, false, "generate extra code (assertions) for debugging") DEFINE_bool(code_comments, false, "emit comments in code disassembly") -DEFINE_bool(peephole_optimization, true, - "perform peephole optimizations in assembly code") DEFINE_bool(enable_sse2, true, "enable use of SSE2 instructions if available") DEFINE_bool(enable_sse3, true, diff --git a/src/v8.cc b/src/v8.cc index 36ee221..e4b37b1 100644 --- a/src/v8.cc +++ b/src/v8.cc @@ -1,4 +1,4 @@ -// Copyright 2011 the V8 project authors. All rights reserved. +// Copyright 2012 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: @@ -255,9 +255,6 @@ void V8::InitializeOncePerProcess() { RuntimeProfiler::GlobalSetup(); - // Peephole optimization might interfere with deoptimization. - FLAG_peephole_optimization = !use_crankshaft_; - ElementsAccessor::InitializeOncePerProcess(); if (FLAG_stress_compaction) { -- 2.7.4