Revision: 10634
Author:   [email protected]
Date:     Wed Feb  8 02:26:17 2012
Log:      Remove another two unused flags.
Review URL: https://chromiumcodereview.appspot.com/9358019
http://code.google.com/p/v8/source/detail?r=10634

Modified:
 /branches/bleeding_edge/src/arm/lithium-codegen-arm.cc
 /branches/bleeding_edge/src/flag-definitions.h
 /branches/bleeding_edge/src/full-codegen.cc
 /branches/bleeding_edge/src/ia32/lithium-codegen-ia32.cc
 /branches/bleeding_edge/src/x64/lithium-codegen-x64.cc

=======================================
--- /branches/bleeding_edge/src/arm/lithium-codegen-arm.cc Tue Jan 31 05:55:46 2012 +++ /branches/bleeding_edge/src/arm/lithium-codegen-arm.cc Wed Feb 8 02:26:17 2012
@@ -673,7 +673,6 @@
 void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) {
   int length = deoptimizations_.length();
   if (length == 0) return;
-  ASSERT(FLAG_deopt);
   Handle<DeoptimizationInputData> data =
       factory()->NewDeoptimizationInputData(length, TENURED);

=======================================
--- /branches/bleeding_edge/src/flag-definitions.h      Wed Feb  8 01:55:25 2012
+++ /branches/bleeding_edge/src/flag-definitions.h      Wed Feb  8 02:26:17 2012
@@ -217,10 +217,8 @@
 DEFINE_bool(trace_opt, false, "trace lazy optimization")
 DEFINE_bool(trace_opt_stats, false, "trace lazy optimization statistics")
 DEFINE_bool(opt, true, "use adaptive optimizations")
-DEFINE_bool(opt_eagerly, false, "be more eager when adaptively optimizing")
 DEFINE_bool(always_opt, false, "always try to optimize functions")
 DEFINE_bool(prepare_always_opt, false, "prepare for turning on always opt")
-DEFINE_bool(deopt, true, "support deoptimization")
 DEFINE_bool(trace_deopt, false, "trace deoptimization")

 // compiler.cc
=======================================
--- /branches/bleeding_edge/src/full-codegen.cc Fri Jan 27 05:03:19 2012
+++ /branches/bleeding_edge/src/full-codegen.cc Wed Feb  8 02:26:17 2012
@@ -380,7 +380,7 @@
 void FullCodeGenerator::PrepareForBailoutForId(unsigned id, State state) {
// There's no need to prepare this code for bailouts from already optimized
   // code or code that can't be optimized.
-  if (!FLAG_deopt || !info_->HasDeoptimizationSupport()) return;
+  if (!info_->HasDeoptimizationSupport()) return;
   unsigned pc_and_state =
       StateField::encode(state) | PcField::encode(masm_->pc_offset());
   BailoutEntry entry = { id, pc_and_state };
=======================================
--- /branches/bleeding_edge/src/ia32/lithium-codegen-ia32.cc Fri Jan 27 05:03:19 2012 +++ /branches/bleeding_edge/src/ia32/lithium-codegen-ia32.cc Wed Feb 8 02:26:17 2012
@@ -622,7 +622,6 @@
 void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) {
   int length = deoptimizations_.length();
   if (length == 0) return;
-  ASSERT(FLAG_deopt);
   Handle<DeoptimizationInputData> data =
       factory()->NewDeoptimizationInputData(length, TENURED);

=======================================
--- /branches/bleeding_edge/src/x64/lithium-codegen-x64.cc Mon Feb 6 02:08:57 2012 +++ /branches/bleeding_edge/src/x64/lithium-codegen-x64.cc Wed Feb 8 02:26:17 2012
@@ -555,7 +555,6 @@
 void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) {
   int length = deoptimizations_.length();
   if (length == 0) return;
-  ASSERT(FLAG_deopt);
   Handle<DeoptimizationInputData> data =
       factory()->NewDeoptimizationInputData(length, TENURED);

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to