| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 F(NotifyDeoptimized, 1, 1) \ | 129 F(NotifyDeoptimized, 1, 1) \ |
| 130 F(CompileForOnStackReplacement, 1, 1) \ | 130 F(CompileForOnStackReplacement, 1, 1) \ |
| 131 F(TryInstallOptimizedCode, 1, 1) \ | 131 F(TryInstallOptimizedCode, 1, 1) \ |
| 132 F(ResolvePossiblyDirectEval, 6, 1) | 132 F(ResolvePossiblyDirectEval, 6, 1) |
| 133 | 133 |
| 134 #define FOR_EACH_INTRINSIC_DATE(F) \ | 134 #define FOR_EACH_INTRINSIC_DATE(F) \ |
| 135 F(IsDate, 1, 1) \ | 135 F(IsDate, 1, 1) \ |
| 136 F(DateCurrentTime, 0, 1) \ | 136 F(DateCurrentTime, 0, 1) \ |
| 137 F(ThrowNotDateError, 0, 1) | 137 F(ThrowNotDateError, 0, 1) |
| 138 | 138 |
| 139 #define FOR_EACH_INTRINSIC_DEBUG(F) \ | 139 #define FOR_EACH_INTRINSIC_DEBUG(F) \ |
| 140 F(HandleDebuggerStatement, 0, 1) \ | 140 F(HandleDebuggerStatement, 0, 1) \ |
| 141 F(DebugBreak, 1, 1) \ | 141 F(DebugBreak, 1, 1) \ |
| 142 F(DebugBreakOnBytecode, 1, 1) \ | 142 F(DebugBreakOnBytecode, 1, 1) \ |
| 143 F(SetDebugEventListener, 2, 1) \ | 143 F(SetDebugEventListener, 2, 1) \ |
| 144 F(ScheduleBreak, 0, 1) \ | 144 F(ScheduleBreak, 0, 1) \ |
| 145 F(DebugGetInternalProperties, 1, 1) \ | 145 F(DebugGetInternalProperties, 1, 1) \ |
| 146 F(DebugGetPropertyDetails, 2, 1) \ | 146 F(DebugGetPropertyDetails, 2, 1) \ |
| 147 F(DebugGetProperty, 2, 1) \ | 147 F(DebugGetProperty, 2, 1) \ |
| 148 F(DebugPropertyTypeFromDetails, 1, 1) \ | 148 F(DebugPropertyTypeFromDetails, 1, 1) \ |
| 149 F(DebugPropertyAttributesFromDetails, 1, 1) \ | 149 F(DebugPropertyAttributesFromDetails, 1, 1) \ |
| 150 F(CheckExecutionState, 1, 1) \ | 150 F(CheckExecutionState, 1, 1) \ |
| 151 F(GetFrameCount, 1, 1) \ | 151 F(GetFrameCount, 1, 1) \ |
| 152 F(GetFrameDetails, 2, 1) \ | 152 F(GetFrameDetails, 2, 1) \ |
| 153 F(GetScopeCount, 2, 1) \ | 153 F(GetScopeCount, 2, 1) \ |
| 154 F(GetScopeDetails, 4, 1) \ | 154 F(GetScopeDetails, 4, 1) \ |
| 155 F(GetAllScopesDetails, 4, 1) \ | 155 F(GetAllScopesDetails, 4, 1) \ |
| 156 F(GetFunctionScopeCount, 1, 1) \ | 156 F(GetFunctionScopeCount, 1, 1) \ |
| 157 F(GetFunctionScopeDetails, 2, 1) \ | 157 F(GetFunctionScopeDetails, 2, 1) \ |
| 158 F(SetScopeVariableValue, 6, 1) \ | 158 F(SetScopeVariableValue, 6, 1) \ |
| 159 F(DebugPrintScopes, 0, 1) \ | 159 F(DebugPrintScopes, 0, 1) \ |
| 160 F(SetBreakPointsActive, 1, 1) \ | 160 F(SetBreakPointsActive, 1, 1) \ |
| 161 F(GetBreakLocations, 2, 1) \ | 161 F(GetBreakLocations, 2, 1) \ |
| 162 F(SetFunctionBreakPoint, 3, 1) \ | 162 F(SetFunctionBreakPoint, 3, 1) \ |
| 163 F(SetScriptBreakPoint, 4, 1) \ | 163 F(SetScriptBreakPoint, 4, 1) \ |
| 164 F(ClearBreakPoint, 1, 1) \ | 164 F(ClearBreakPoint, 1, 1) \ |
| 165 F(ChangeBreakOnException, 2, 1) \ | 165 F(ChangeBreakOnException, 2, 1) \ |
| 166 F(IsBreakOnException, 1, 1) \ | 166 F(IsBreakOnException, 1, 1) \ |
| 167 F(PrepareStep, 2, 1) \ | 167 F(PrepareStep, 2, 1) \ |
| 168 F(ClearStepping, 0, 1) \ | 168 F(ClearStepping, 0, 1) \ |
| 169 F(DebugEvaluate, 6, 1) \ | 169 F(DebugEvaluate, 6, 1) \ |
| 170 F(DebugEvaluateGlobal, 4, 1) \ | 170 F(DebugEvaluateGlobal, 4, 1) \ |
| 171 F(DebugGetLoadedScripts, 0, 1) \ | 171 F(DebugGetLoadedScripts, 0, 1) \ |
| 172 F(DebugReferencedBy, 3, 1) \ | 172 F(DebugReferencedBy, 3, 1) \ |
| 173 F(DebugConstructedBy, 2, 1) \ | 173 F(DebugConstructedBy, 2, 1) \ |
| 174 F(DebugGetPrototype, 1, 1) \ | 174 F(DebugGetPrototype, 1, 1) \ |
| 175 F(DebugSetScriptSource, 2, 1) \ | 175 F(DebugSetScriptSource, 2, 1) \ |
| 176 F(FunctionGetInferredName, 1, 1) \ | 176 F(FunctionGetInferredName, 1, 1) \ |
| 177 F(FunctionGetDebugName, 1, 1) \ | 177 F(FunctionGetDebugName, 1, 1) \ |
| 178 F(GetFunctionCodePositionFromSource, 2, 1) \ | 178 F(GetFunctionCodePositionFromSource, 2, 1) \ |
| 179 F(ExecuteInDebugContext, 1, 1) \ | 179 F(ExecuteInDebugContext, 1, 1) \ |
| 180 F(GetDebugContext, 0, 1) \ | 180 F(GetDebugContext, 0, 1) \ |
| 181 F(CollectGarbage, 1, 1) \ | 181 F(CollectGarbage, 1, 1) \ |
| 182 F(GetHeapUsage, 0, 1) \ | 182 F(GetHeapUsage, 0, 1) \ |
| 183 F(GetScript, 1, 1) \ | 183 F(GetScript, 1, 1) \ |
| 184 F(ScriptLineCount, 1, 1) \ | 184 F(ScriptLineCount, 1, 1) \ |
| 185 F(ScriptLineStartPosition, 2, 1) \ | 185 F(ScriptLineStartPosition, 2, 1) \ |
| 186 F(ScriptLineEndPosition, 2, 1) \ | 186 F(ScriptLineEndPosition, 2, 1) \ |
| 187 F(ScriptLocationFromLine, 4, 1) \ | 187 F(ScriptLocationFromLine, 4, 1) \ |
| 188 F(ScriptPositionInfo, 3, 1) \ | 188 F(ScriptPositionInfo, 3, 1) \ |
| 189 F(ScriptSourceLine, 2, 1) \ | 189 F(ScriptSourceLine, 2, 1) \ |
| 190 F(DebugPrepareStepInIfStepping, 1, 1) \ | 190 F(DebugPrepareStepInIfStepping, 1, 1) \ |
| 191 F(DebugPushPromise, 2, 1) \ | 191 F(DebugPrepareStepInSuspendedGenerator, 0, 1) \ |
| 192 F(DebugPopPromise, 0, 1) \ | 192 F(DebugPushPromise, 2, 1) \ |
| 193 F(DebugAsyncTaskEvent, 1, 1) \ | 193 F(DebugPopPromise, 0, 1) \ |
| 194 F(DebugIsActive, 0, 1) \ | 194 F(DebugAsyncTaskEvent, 1, 1) \ |
| 195 F(DebugIsActive, 0, 1) \ |
| 195 F(DebugBreakInOptimizedCode, 0, 1) | 196 F(DebugBreakInOptimizedCode, 0, 1) |
| 196 | 197 |
| 197 #define FOR_EACH_INTRINSIC_FORIN(F) \ | 198 #define FOR_EACH_INTRINSIC_FORIN(F) \ |
| 198 F(ForInDone, 2, 1) \ | 199 F(ForInDone, 2, 1) \ |
| 199 F(ForInEnumerate, 1, 1) \ | 200 F(ForInEnumerate, 1, 1) \ |
| 200 F(ForInFilter, 2, 1) \ | 201 F(ForInFilter, 2, 1) \ |
| 201 F(ForInNext, 4, 1) \ | 202 F(ForInNext, 4, 1) \ |
| 202 F(ForInStep, 1, 1) | 203 F(ForInStep, 1, 1) |
| 203 | 204 |
| 204 #define FOR_EACH_INTRINSIC_INTERPRETER(F) \ | 205 #define FOR_EACH_INTRINSIC_INTERPRETER(F) \ |
| (...skipping 939 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1144 | 1145 |
| 1145 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1146 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
| 1146 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1147 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
| 1147 STATIC_ASSERT(LANGUAGE_END == 3); | 1148 STATIC_ASSERT(LANGUAGE_END == 3); |
| 1148 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1149 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
| 1149 | 1150 |
| 1150 } // namespace internal | 1151 } // namespace internal |
| 1151 } // namespace v8 | 1152 } // namespace v8 |
| 1152 | 1153 |
| 1153 #endif // V8_RUNTIME_RUNTIME_H_ | 1154 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |