Remove another two unused flags.

Review URL: https://chromiumcodereview.appspot.com/9358019

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10634 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 6f573edc
...@@ -673,7 +673,6 @@ void LCodeGen::DeoptimizeIf(Condition cc, LEnvironment* environment) { ...@@ -673,7 +673,6 @@ void LCodeGen::DeoptimizeIf(Condition cc, LEnvironment* environment) {
void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) { void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) {
int length = deoptimizations_.length(); int length = deoptimizations_.length();
if (length == 0) return; if (length == 0) return;
ASSERT(FLAG_deopt);
Handle<DeoptimizationInputData> data = Handle<DeoptimizationInputData> data =
factory()->NewDeoptimizationInputData(length, TENURED); factory()->NewDeoptimizationInputData(length, TENURED);
......
...@@ -217,10 +217,8 @@ DEFINE_bool(lazy, true, "use lazy compilation") ...@@ -217,10 +217,8 @@ DEFINE_bool(lazy, true, "use lazy compilation")
DEFINE_bool(trace_opt, false, "trace lazy optimization") DEFINE_bool(trace_opt, false, "trace lazy optimization")
DEFINE_bool(trace_opt_stats, false, "trace lazy optimization statistics") DEFINE_bool(trace_opt_stats, false, "trace lazy optimization statistics")
DEFINE_bool(opt, true, "use adaptive optimizations") 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(always_opt, false, "always try to optimize functions")
DEFINE_bool(prepare_always_opt, false, "prepare for turning on always opt") 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") DEFINE_bool(trace_deopt, false, "trace deoptimization")
// compiler.cc // compiler.cc
......
...@@ -380,7 +380,7 @@ void FullCodeGenerator::RecordJSReturnSite(Call* call) { ...@@ -380,7 +380,7 @@ void FullCodeGenerator::RecordJSReturnSite(Call* call) {
void FullCodeGenerator::PrepareForBailoutForId(unsigned id, State state) { void FullCodeGenerator::PrepareForBailoutForId(unsigned id, State state) {
// There's no need to prepare this code for bailouts from already optimized // There's no need to prepare this code for bailouts from already optimized
// code or code that can't be optimized. // code or code that can't be optimized.
if (!FLAG_deopt || !info_->HasDeoptimizationSupport()) return; if (!info_->HasDeoptimizationSupport()) return;
unsigned pc_and_state = unsigned pc_and_state =
StateField::encode(state) | PcField::encode(masm_->pc_offset()); StateField::encode(state) | PcField::encode(masm_->pc_offset());
BailoutEntry entry = { id, pc_and_state }; BailoutEntry entry = { id, pc_and_state };
......
...@@ -622,7 +622,6 @@ void LCodeGen::DeoptimizeIf(Condition cc, LEnvironment* environment) { ...@@ -622,7 +622,6 @@ void LCodeGen::DeoptimizeIf(Condition cc, LEnvironment* environment) {
void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) { void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) {
int length = deoptimizations_.length(); int length = deoptimizations_.length();
if (length == 0) return; if (length == 0) return;
ASSERT(FLAG_deopt);
Handle<DeoptimizationInputData> data = Handle<DeoptimizationInputData> data =
factory()->NewDeoptimizationInputData(length, TENURED); factory()->NewDeoptimizationInputData(length, TENURED);
......
...@@ -555,7 +555,6 @@ void LCodeGen::DeoptimizeIf(Condition cc, LEnvironment* environment) { ...@@ -555,7 +555,6 @@ void LCodeGen::DeoptimizeIf(Condition cc, LEnvironment* environment) {
void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) { void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) {
int length = deoptimizations_.length(); int length = deoptimizations_.length();
if (length == 0) return; if (length == 0) return;
ASSERT(FLAG_deopt);
Handle<DeoptimizationInputData> data = Handle<DeoptimizationInputData> data =
factory()->NewDeoptimizationInputData(length, TENURED); factory()->NewDeoptimizationInputData(length, TENURED);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment