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

Side by Side Diff: src/runtime.h

Issue 23842004: Pass PC offset into runtime when compiling for OSR. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments. Created 7 years, 3 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
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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(IsConcurrentRecompilationSupported, 0, 1) \ 98 F(IsConcurrentRecompilationSupported, 0, 1) \
99 F(OptimizeFunctionOnNextCall, -1, 1) \ 99 F(OptimizeFunctionOnNextCall, -1, 1) \
100 F(NeverOptimizeFunction, 1, 1) \ 100 F(NeverOptimizeFunction, 1, 1) \
101 F(GetOptimizationStatus, -1, 1) \ 101 F(GetOptimizationStatus, -1, 1) \
102 F(GetOptimizationCount, 1, 1) \ 102 F(GetOptimizationCount, 1, 1) \
103 F(CompileForOnStackReplacement, 1, 1) \ 103 F(CompileForOnStackReplacement, 2, 1) \
104 F(SetAllocationTimeout, 2, 1) \ 104 F(SetAllocationTimeout, 2, 1) \
105 F(AllocateInNewSpace, 1, 1) \ 105 F(AllocateInNewSpace, 1, 1) \
106 F(AllocateInOldPointerSpace, 1, 1) \ 106 F(AllocateInOldPointerSpace, 1, 1) \
107 F(AllocateInOldDataSpace, 1, 1) \ 107 F(AllocateInOldDataSpace, 1, 1) \
108 F(SetNativeFlag, 1, 1) \ 108 F(SetNativeFlag, 1, 1) \
109 F(StoreArrayLiteralElement, 5, 1) \ 109 F(StoreArrayLiteralElement, 5, 1) \
110 F(DebugCallbackSupportsStepping, 1, 1) \ 110 F(DebugCallbackSupportsStepping, 1, 1) \
111 F(DebugPrepareStepInIfStepping, 1, 1) \ 111 F(DebugPrepareStepInIfStepping, 1, 1) \
112 F(FlattenString, 1, 1) \ 112 F(FlattenString, 1, 1) \
113 F(MigrateInstance, 1, 1) \ 113 F(MigrateInstance, 1, 1) \
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 //--------------------------------------------------------------------------- 849 //---------------------------------------------------------------------------
850 // Constants used by interface to runtime functions. 850 // Constants used by interface to runtime functions.
851 851
852 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 852 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
853 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 853 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
854 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 854 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
855 855
856 } } // namespace v8::internal 856 } } // namespace v8::internal
857 857
858 #endif // V8_RUNTIME_H_ 858 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/optimizing-compiler-thread.cc ('k') | src/runtime.cc » ('j') | src/runtime-profiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698