Reviewers: danno,

Description:
Remove unused --peephole-optimization flag.


[email protected]
BUG=
TEST=


Please review this at https://chromiumcodereview.appspot.com/9361022/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/flag-definitions.h
  M src/v8.cc


Index: src/flag-definitions.h
diff --git a/src/flag-definitions.h b/src/flag-definitions.h
index 9cdea067254f2edab1bdb6ce9cc34b8dc8d2e5a9..2cee444217c8c59cbc769818aa521ef77f726bf8 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,
Index: src/v8.cc
diff --git a/src/v8.cc b/src/v8.cc
index 36ee221948dd3a639a609907765fb18e5d5187be..e4b37b180e1f49eefc2601ed93a846769c961c8f 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) {


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

Reply via email to