Reviewers: Michael Starzinger,

Description:
Remove redundant --always-full-compiler flag.

[email protected]
BUG=

Please review this at https://codereview.chromium.org/538613006/

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

Affected files (+1, -8 lines):
  M src/compiler.cc
  M src/flag-definitions.h
  M test/mjsunit/regress/regress-conditional-position.js


Index: src/compiler.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index 76417d7c0edb8dc31ed18dcd66832c067fbfd562..b02033cfdfb465c0d72095422f0493787f21a141 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -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);
Index: src/flag-definitions.h
diff --git a/src/flag-definitions.h b/src/flag-definitions.h
index 7f9f811dc60602e710018aeba3aab96f85e2c52c..fe5f443adf1dad958db4324b68df327fceefaa2c 100644
--- a/src/flag-definitions.h
+++ b/src/flag-definitions.h
@@ -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.")

Index: test/mjsunit/regress/regress-conditional-position.js
diff --git a/test/mjsunit/regress/regress-conditional-position.js b/test/mjsunit/regress/regress-conditional-position.js index cd8f7bd7457d6685ba205d77db9e42191b44045e..ae5a3acb5897ced5372a85a73de7d0dbb74e0d18 100644
--- a/test/mjsunit/regress/regress-conditional-position.js
+++ b/test/mjsunit/regress/regress-conditional-position.js
@@ -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;


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to