Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1139)

Unified Diff: src/v8globals.h

Issue 6321007: Disable aggressive optimizations on the last optimization attempt. (Closed)
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/hydrogen-instructions.h ('K') | « src/hydrogen-instructions.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/v8globals.h
diff --git a/src/v8globals.h b/src/v8globals.h
index 3f27114beccfdfb43073e53e358c917d1265bf6c..3e6442a2affe08031d82ec3f6147dabfdfc428ed 100644
--- a/src/v8globals.h
+++ b/src/v8globals.h
@@ -105,6 +105,10 @@ const uint64_t kQuietNaNMask = static_cast<uint64_t>(0xfff) << 51;
// If looking only at the top 32 bits, the QNaN mask is bits 19 to 30.
const uint32_t kQuietNaNHighBitsMask = 0xfff << (51 - 32);
+// Default maximum number of function optimization attempts before we
+// give up.
+const int kDefaultMaxOptCount = 10;
Kevin Millikin (Chromium) 2011/01/18 11:18:39 This should probably go in class Compiler instead
Vitaly Repeshko 2011/01/18 12:24:56 Done.
+
// -----------------------------------------------------------------------------
// Forward declarations for frequently used classes
« src/hydrogen-instructions.h ('K') | « src/hydrogen-instructions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698