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/runtime.h

Issue 73973002: Allow passing flags to Runtime_AllocateInTargetSpace. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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/mips/lithium-codegen-mips.cc ('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 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 F(RunningInSimulator, 0, 1) \ 96 F(RunningInSimulator, 0, 1) \
97 F(IsConcurrentRecompilationSupported, 0, 1) \ 97 F(IsConcurrentRecompilationSupported, 0, 1) \
98 F(OptimizeFunctionOnNextCall, -1, 1) \ 98 F(OptimizeFunctionOnNextCall, -1, 1) \
99 F(NeverOptimizeFunction, 1, 1) \ 99 F(NeverOptimizeFunction, 1, 1) \
100 F(GetOptimizationStatus, -1, 1) \ 100 F(GetOptimizationStatus, -1, 1) \
101 F(GetOptimizationCount, 1, 1) \ 101 F(GetOptimizationCount, 1, 1) \
102 F(UnblockConcurrentRecompilation, 0, 1) \ 102 F(UnblockConcurrentRecompilation, 0, 1) \
103 F(CompileForOnStackReplacement, 2, 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(AllocateInTargetSpace, 2, 1) \
107 F(AllocateInOldDataSpace, 1, 1) \
108 F(SetNativeFlag, 1, 1) \ 107 F(SetNativeFlag, 1, 1) \
109 F(SetInlineBuiltinFlag, 1, 1) \ 108 F(SetInlineBuiltinFlag, 1, 1) \
110 F(StoreArrayLiteralElement, 5, 1) \ 109 F(StoreArrayLiteralElement, 5, 1) \
111 F(DebugCallbackSupportsStepping, 1, 1) \ 110 F(DebugCallbackSupportsStepping, 1, 1) \
112 F(DebugPrepareStepInIfStepping, 1, 1) \ 111 F(DebugPrepareStepInIfStepping, 1, 1) \
113 F(FlattenString, 1, 1) \ 112 F(FlattenString, 1, 1) \
114 F(MigrateInstance, 1, 1) \ 113 F(MigrateInstance, 1, 1) \
115 F(NotifyContextDisposed, 0, 1) \ 114 F(NotifyContextDisposed, 0, 1) \
116 \ 115 \
117 /* Array join support */ \ 116 /* Array join support */ \
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 static Handle<Object> CreateArrayLiteralBoilerplate( 836 static Handle<Object> CreateArrayLiteralBoilerplate(
838 Isolate* isolate, 837 Isolate* isolate,
839 Handle<FixedArray> literals, 838 Handle<FixedArray> literals,
840 Handle<FixedArray> elements); 839 Handle<FixedArray> elements);
841 }; 840 };
842 841
843 842
844 //--------------------------------------------------------------------------- 843 //---------------------------------------------------------------------------
845 // Constants used by interface to runtime functions. 844 // Constants used by interface to runtime functions.
846 845
846 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
847 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
848
847 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 849 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
848 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 850 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
849 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 851 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
850 852
851 } } // namespace v8::internal 853 } } // namespace v8::internal
852 854
853 #endif // V8_RUNTIME_H_ 855 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698