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

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: 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') | test/mjsunit/compiler/optimized-function-calls.js » ('J')
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 4516 matching lines...) Expand 10 before | Expand all | Expand 10 after
4527 4527
4528 // Tells whether this function is builtin. 4528 // Tells whether this function is builtin.
4529 inline bool IsBuiltin(); 4529 inline bool IsBuiltin();
4530 4530
4531 // Tells whether or not the function needs arguments adaption. 4531 // Tells whether or not the function needs arguments adaption.
4532 inline bool NeedsArgumentsAdaption(); 4532 inline bool NeedsArgumentsAdaption();
4533 4533
4534 // Tells whether or not this function has been optimized. 4534 // Tells whether or not this function has been optimized.
4535 inline bool IsOptimized(); 4535 inline bool IsOptimized();
4536 4536
4537 // Tells whether or not this function can be optimized.
4538 inline bool IsOptimizable();
4539
4537 // Mark this function for lazy recompilation. The function will be 4540 // Mark this function for lazy recompilation. The function will be
4538 // recompiled the next time it is executed. 4541 // recompiled the next time it is executed.
4539 void MarkForLazyRecompilation(); 4542 void MarkForLazyRecompilation();
4540 4543
4541 // Tells whether or not the function is already marked for lazy 4544 // Tells whether or not the function is already marked for lazy
4542 // recompilation. 4545 // recompilation.
4543 inline bool IsMarkedForLazyRecompilation(); 4546 inline bool IsMarkedForLazyRecompilation();
4544 4547
4545 // Compute a hash code for the source code of this function. 4548 // Compute a hash code for the source code of this function.
4546 uint32_t SourceHash(); 4549 uint32_t SourceHash();
(...skipping 2106 matching lines...) Expand 10 before | Expand all | Expand 10 after
6653 } else { 6656 } else {
6654 value &= ~(1 << bit_position); 6657 value &= ~(1 << bit_position);
6655 } 6658 }
6656 return value; 6659 return value;
6657 } 6660 }
6658 }; 6661 };
6659 6662
6660 } } // namespace v8::internal 6663 } } // namespace v8::internal
6661 6664
6662 #endif // V8_OBJECTS_H_ 6665 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects-inl.h » ('j') | test/mjsunit/compiler/optimized-function-calls.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698