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

Side by Side Diff: src/api.cc

Issue 10162001: Replaced the --limit-inling flag by three separate flags and bumped hard limits. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 6303 matching lines...) Expand 10 before | Expand all | Expand 10 after
6314 } 6314 }
6315 6315
6316 6316
6317 static void SetFlagsFromString(const char* flags) { 6317 static void SetFlagsFromString(const char* flags) {
6318 V8::SetFlagsFromString(flags, i::StrLength(flags)); 6318 V8::SetFlagsFromString(flags, i::StrLength(flags));
6319 } 6319 }
6320 6320
6321 6321
6322 void Testing::PrepareStressRun(int run) { 6322 void Testing::PrepareStressRun(int run) {
6323 static const char* kLazyOptimizations = 6323 static const char* kLazyOptimizations =
6324 "--prepare-always-opt --nolimit-inlining --noalways-opt"; 6324 "--prepare-always-opt "
6325 "--max-inlined-source-size=999999 "
6326 "--max-inlined-nodes=999999 "
6327 "--max-inlined-nodes-cumulative=999999 "
6328 "--noalways-opt";
6325 static const char* kForcedOptimizations = "--always-opt"; 6329 static const char* kForcedOptimizations = "--always-opt";
6326 6330
6327 // If deoptimization stressed turn on frequent deoptimization. If no value 6331 // If deoptimization stressed turn on frequent deoptimization. If no value
6328 // is spefified through --deopt-every-n-times use a default default value. 6332 // is spefified through --deopt-every-n-times use a default default value.
6329 static const char* kDeoptEvery13Times = "--deopt-every-n-times=13"; 6333 static const char* kDeoptEvery13Times = "--deopt-every-n-times=13";
6330 if (internal::Testing::stress_type() == Testing::kStressTypeDeopt && 6334 if (internal::Testing::stress_type() == Testing::kStressTypeDeopt &&
6331 internal::FLAG_deopt_every_n_times == 0) { 6335 internal::FLAG_deopt_every_n_times == 0) {
6332 SetFlagsFromString(kDeoptEvery13Times); 6336 SetFlagsFromString(kDeoptEvery13Times);
6333 } 6337 }
6334 6338
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
6416 6420
6417 6421
6418 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { 6422 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) {
6419 HandleScopeImplementer* scope_implementer = 6423 HandleScopeImplementer* scope_implementer =
6420 reinterpret_cast<HandleScopeImplementer*>(storage); 6424 reinterpret_cast<HandleScopeImplementer*>(storage);
6421 scope_implementer->IterateThis(v); 6425 scope_implementer->IterateThis(v);
6422 return storage + ArchiveSpacePerThread(); 6426 return storage + ArchiveSpacePerThread();
6423 } 6427 }
6424 6428
6425 } } // namespace v8::internal 6429 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698