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

Side by Side Diff: src/runtime.h

Issue 18214005: Added %NeverOptimize runtime call that can disable optimizations for a method for tests. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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/hydrogen.cc ('k') | src/runtime.cc » ('j') | src/runtime.cc » ('J')
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 F(ParallelRecompile, 1, 1) \ 90 F(ParallelRecompile, 1, 1) \
91 F(InstallRecompiledCode, 1, 1) \ 91 F(InstallRecompiledCode, 1, 1) \
92 F(NotifyDeoptimized, 1, 1) \ 92 F(NotifyDeoptimized, 1, 1) \
93 F(NotifyStubFailure, 0, 1) \ 93 F(NotifyStubFailure, 0, 1) \
94 F(NotifyOSR, 0, 1) \ 94 F(NotifyOSR, 0, 1) \
95 F(DeoptimizeFunction, 1, 1) \ 95 F(DeoptimizeFunction, 1, 1) \
96 F(ClearFunctionTypeFeedback, 1, 1) \ 96 F(ClearFunctionTypeFeedback, 1, 1) \
97 F(RunningInSimulator, 0, 1) \ 97 F(RunningInSimulator, 0, 1) \
98 F(IsParallelRecompilationSupported, 0, 1) \ 98 F(IsParallelRecompilationSupported, 0, 1) \
99 F(OptimizeFunctionOnNextCall, -1, 1) \ 99 F(OptimizeFunctionOnNextCall, -1, 1) \
100 F(NeverOptimize, -1, 1) \
100 F(CompleteOptimization, 1, 1) \ 101 F(CompleteOptimization, 1, 1) \
101 F(GetOptimizationStatus, 1, 1) \ 102 F(GetOptimizationStatus, 1, 1) \
102 F(GetOptimizationCount, 1, 1) \ 103 F(GetOptimizationCount, 1, 1) \
103 F(CompileForOnStackReplacement, 1, 1) \ 104 F(CompileForOnStackReplacement, 1, 1) \
104 F(AllocateInNewSpace, 1, 1) \ 105 F(AllocateInNewSpace, 1, 1) \
105 F(AllocateInOldPointerSpace, 1, 1) \ 106 F(AllocateInOldPointerSpace, 1, 1) \
106 F(AllocateInOldDataSpace, 1, 1) \ 107 F(AllocateInOldDataSpace, 1, 1) \
107 F(SetNativeFlag, 1, 1) \ 108 F(SetNativeFlag, 1, 1) \
108 F(StoreArrayLiteralElement, 5, 1) \ 109 F(StoreArrayLiteralElement, 5, 1) \
109 F(DebugCallbackSupportsStepping, 1, 1) \ 110 F(DebugCallbackSupportsStepping, 1, 1) \
(...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 //--------------------------------------------------------------------------- 812 //---------------------------------------------------------------------------
812 // Constants used by interface to runtime functions. 813 // Constants used by interface to runtime functions.
813 814
814 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 815 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
815 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 816 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
816 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 817 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
817 818
818 } } // namespace v8::internal 819 } } // namespace v8::internal
819 820
820 #endif // V8_RUNTIME_H_ 821 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/runtime.cc » ('j') | src/runtime.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698