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

Side by Side Diff: src/objects.h

Issue 6821009: Introduce runtime function %OptimizeFunctionOnNextCall to manually trigger optimization. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: address comments Created 9 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/objects-inl.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 4505 matching lines...) Expand 10 before | Expand all | Expand 10 after
4516 4516
4517 // Tells whether this function is builtin. 4517 // Tells whether this function is builtin.
4518 inline bool IsBuiltin(); 4518 inline bool IsBuiltin();
4519 4519
4520 // Tells whether or not the function needs arguments adaption. 4520 // Tells whether or not the function needs arguments adaption.
4521 inline bool NeedsArgumentsAdaption(); 4521 inline bool NeedsArgumentsAdaption();
4522 4522
4523 // Tells whether or not this function has been optimized. 4523 // Tells whether or not this function has been optimized.
4524 inline bool IsOptimized(); 4524 inline bool IsOptimized();
4525 4525
4526 // Tells whether or not this function can be optimized.
4527 inline bool IsOptimizable();
4528
4526 // Mark this function for lazy recompilation. The function will be 4529 // Mark this function for lazy recompilation. The function will be
4527 // recompiled the next time it is executed. 4530 // recompiled the next time it is executed.
4528 void MarkForLazyRecompilation(); 4531 void MarkForLazyRecompilation();
4529 4532
4530 // Tells whether or not the function is already marked for lazy 4533 // Tells whether or not the function is already marked for lazy
4531 // recompilation. 4534 // recompilation.
4532 inline bool IsMarkedForLazyRecompilation(); 4535 inline bool IsMarkedForLazyRecompilation();
4533 4536
4534 // Compute a hash code for the source code of this function. 4537 // Compute a hash code for the source code of this function.
4535 uint32_t SourceHash(); 4538 uint32_t SourceHash();
(...skipping 2106 matching lines...) Expand 10 before | Expand all | Expand 10 after
6642 } else { 6645 } else {
6643 value &= ~(1 << bit_position); 6646 value &= ~(1 << bit_position);
6644 } 6647 }
6645 return value; 6648 return value;
6646 } 6649 }
6647 }; 6650 };
6648 6651
6649 } } // namespace v8::internal 6652 } } // namespace v8::internal
6650 6653
6651 #endif // V8_OBJECTS_H_ 6654 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698