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

Side by Side 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 unified diff | Download patch
« src/hydrogen-instructions.h ('K') | « src/hydrogen-instructions.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 const int kProcessorCacheLineSize = 64; 98 const int kProcessorCacheLineSize = 64;
99 99
100 // Constants relevant to double precision floating point numbers. 100 // Constants relevant to double precision floating point numbers.
101 101
102 // Quiet NaNs have bits 51 to 62 set, possibly the sign bit, and no 102 // Quiet NaNs have bits 51 to 62 set, possibly the sign bit, and no
103 // other bits set. 103 // other bits set.
104 const uint64_t kQuietNaNMask = static_cast<uint64_t>(0xfff) << 51; 104 const uint64_t kQuietNaNMask = static_cast<uint64_t>(0xfff) << 51;
105 // If looking only at the top 32 bits, the QNaN mask is bits 19 to 30. 105 // If looking only at the top 32 bits, the QNaN mask is bits 19 to 30.
106 const uint32_t kQuietNaNHighBitsMask = 0xfff << (51 - 32); 106 const uint32_t kQuietNaNHighBitsMask = 0xfff << (51 - 32);
107 107
108 // Default maximum number of function optimization attempts before we
109 // give up.
110 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.
111
108 112
109 // ----------------------------------------------------------------------------- 113 // -----------------------------------------------------------------------------
110 // Forward declarations for frequently used classes 114 // Forward declarations for frequently used classes
111 // (sorted alphabetically) 115 // (sorted alphabetically)
112 116
113 class AccessorInfo; 117 class AccessorInfo;
114 class Allocation; 118 class Allocation;
115 class Arguments; 119 class Arguments;
116 class Assembler; 120 class Assembler;
117 class AssertNoAllocation; 121 class AssertNoAllocation;
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 CMOV = 15, // x86 469 CMOV = 15, // x86
466 RDTSC = 4, // x86 470 RDTSC = 4, // x86
467 CPUID = 10, // x86 471 CPUID = 10, // x86
468 VFP3 = 1, // ARM 472 VFP3 = 1, // ARM
469 ARMv7 = 2, // ARM 473 ARMv7 = 2, // ARM
470 SAHF = 0}; // x86 474 SAHF = 0}; // x86
471 475
472 } } // namespace v8::internal 476 } } // namespace v8::internal
473 477
474 #endif // V8_V8GLOBALS_H_ 478 #endif // V8_V8GLOBALS_H_
OLDNEW
« 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