OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_RUNTIME_RUNTIME_H_ | 5 #ifndef V8_RUNTIME_RUNTIME_H_ |
6 #define V8_RUNTIME_RUNTIME_H_ | 6 #define V8_RUNTIME_RUNTIME_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/base/platform/time.h" | 9 #include "src/base/platform/time.h" |
10 #include "src/objects.h" | 10 #include "src/objects.h" |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 F(ClearStepping, 0, 1) \ | 166 F(ClearStepping, 0, 1) \ |
167 F(DebugEvaluate, 6, 1) \ | 167 F(DebugEvaluate, 6, 1) \ |
168 F(DebugEvaluateGlobal, 4, 1) \ | 168 F(DebugEvaluateGlobal, 4, 1) \ |
169 F(DebugGetLoadedScripts, 0, 1) \ | 169 F(DebugGetLoadedScripts, 0, 1) \ |
170 F(DebugReferencedBy, 3, 1) \ | 170 F(DebugReferencedBy, 3, 1) \ |
171 F(DebugConstructedBy, 2, 1) \ | 171 F(DebugConstructedBy, 2, 1) \ |
172 F(DebugGetPrototype, 1, 1) \ | 172 F(DebugGetPrototype, 1, 1) \ |
173 F(DebugSetScriptSource, 2, 1) \ | 173 F(DebugSetScriptSource, 2, 1) \ |
174 F(FunctionGetInferredName, 1, 1) \ | 174 F(FunctionGetInferredName, 1, 1) \ |
175 F(FunctionGetDebugName, 1, 1) \ | 175 F(FunctionGetDebugName, 1, 1) \ |
176 F(GetFunctionCodePositionFromSource, 2, 1) \ | |
177 F(ExecuteInDebugContext, 1, 1) \ | 176 F(ExecuteInDebugContext, 1, 1) \ |
178 F(GetDebugContext, 0, 1) \ | 177 F(GetDebugContext, 0, 1) \ |
179 F(CollectGarbage, 1, 1) \ | 178 F(CollectGarbage, 1, 1) \ |
180 F(GetHeapUsage, 0, 1) \ | 179 F(GetHeapUsage, 0, 1) \ |
181 F(GetScript, 1, 1) \ | 180 F(GetScript, 1, 1) \ |
182 F(ScriptLineCount, 1, 1) \ | 181 F(ScriptLineCount, 1, 1) \ |
183 F(ScriptLineStartPosition, 2, 1) \ | 182 F(ScriptLineStartPosition, 2, 1) \ |
184 F(ScriptLineEndPosition, 2, 1) \ | 183 F(ScriptLineEndPosition, 2, 1) \ |
185 F(ScriptLocationFromLine, 4, 1) \ | 184 F(ScriptLocationFromLine, 4, 1) \ |
186 F(ScriptPositionInfo, 3, 1) \ | 185 F(ScriptPositionInfo, 3, 1) \ |
(...skipping 957 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1144 | 1143 |
1145 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1144 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1146 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1145 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1147 STATIC_ASSERT(LANGUAGE_END == 3); | 1146 STATIC_ASSERT(LANGUAGE_END == 3); |
1148 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1147 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1149 | 1148 |
1150 } // namespace internal | 1149 } // namespace internal |
1151 } // namespace v8 | 1150 } // namespace v8 |
1152 | 1151 |
1153 #endif // V8_RUNTIME_RUNTIME_H_ | 1152 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |