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

Side by Side Diff: src/runtime.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 | « src/objects-inl.h ('k') | src/runtime.cc » ('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 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 F(PreventExtensions, 1, 1)\ 77 F(PreventExtensions, 1, 1)\
78 \ 78 \
79 /* Utilities */ \ 79 /* Utilities */ \
80 F(GetFunctionDelegate, 1, 1) \ 80 F(GetFunctionDelegate, 1, 1) \
81 F(GetConstructorDelegate, 1, 1) \ 81 F(GetConstructorDelegate, 1, 1) \
82 F(NewArgumentsFast, 3, 1) \ 82 F(NewArgumentsFast, 3, 1) \
83 F(LazyCompile, 1, 1) \ 83 F(LazyCompile, 1, 1) \
84 F(LazyRecompile, 1, 1) \ 84 F(LazyRecompile, 1, 1) \
85 F(NotifyDeoptimized, 1, 1) \ 85 F(NotifyDeoptimized, 1, 1) \
86 F(NotifyOSR, 0, 1) \ 86 F(NotifyOSR, 0, 1) \
87 F(DeoptimizeFunction, 1, 1) \ 87 F(DeoptimizeFunction, 1, 1) \
88 F(OptimizeFunctionOnNextCall, 1, 1) \
88 F(CompileForOnStackReplacement, 1, 1) \ 89 F(CompileForOnStackReplacement, 1, 1) \
89 F(SetNewFunctionAttributes, 1, 1) \ 90 F(SetNewFunctionAttributes, 1, 1) \
90 F(AllocateInNewSpace, 1, 1) \ 91 F(AllocateInNewSpace, 1, 1) \
91 \ 92 \
92 /* Array join support */ \ 93 /* Array join support */ \
93 F(PushIfAbsent, 2, 1) \ 94 F(PushIfAbsent, 2, 1) \
94 F(ArrayConcat, 1, 1) \ 95 F(ArrayConcat, 1, 1) \
95 \ 96 \
96 /* Conversions */ \ 97 /* Conversions */ \
97 F(ToBool, 1, 1) \ 98 F(ToBool, 1, 1) \
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 Handle<Script> script, 635 Handle<Script> script,
635 int position); 636 int position);
636 637
637 // Helper functions used stubs. 638 // Helper functions used stubs.
638 static void PerformGC(Object* result); 639 static void PerformGC(Object* result);
639 }; 640 };
640 641
641 } } // namespace v8::internal 642 } } // namespace v8::internal
642 643
643 #endif // V8_RUNTIME_H_ 644 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698