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

Side by Side Diff: src/runtime/runtime.h

Issue 1986173002: Refactor script position calculation (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix DCHECK logic Created 4 years, 7 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
« no previous file with comments | « src/objects.cc ('k') | src/runtime/runtime-debug.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 // 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 F(DebugGetPrototype, 1, 1) \ 173 F(DebugGetPrototype, 1, 1) \
174 F(DebugSetScriptSource, 2, 1) \ 174 F(DebugSetScriptSource, 2, 1) \
175 F(FunctionGetInferredName, 1, 1) \ 175 F(FunctionGetInferredName, 1, 1) \
176 F(FunctionGetDebugName, 1, 1) \ 176 F(FunctionGetDebugName, 1, 1) \
177 F(GetFunctionCodePositionFromSource, 2, 1) \ 177 F(GetFunctionCodePositionFromSource, 2, 1) \
178 F(ExecuteInDebugContext, 1, 1) \ 178 F(ExecuteInDebugContext, 1, 1) \
179 F(GetDebugContext, 0, 1) \ 179 F(GetDebugContext, 0, 1) \
180 F(CollectGarbage, 1, 1) \ 180 F(CollectGarbage, 1, 1) \
181 F(GetHeapUsage, 0, 1) \ 181 F(GetHeapUsage, 0, 1) \
182 F(GetScript, 1, 1) \ 182 F(GetScript, 1, 1) \
183 F(ScriptLineCount, 1, 1) \
184 F(ScriptLineStartPosition, 2, 1) \
185 F(ScriptLineEndPosition, 2, 1) \
186 F(ScriptPositionInfo, 3, 1) \
183 F(DebugPrepareStepInIfStepping, 1, 1) \ 187 F(DebugPrepareStepInIfStepping, 1, 1) \
184 F(DebugPushPromise, 2, 1) \ 188 F(DebugPushPromise, 2, 1) \
185 F(DebugPopPromise, 0, 1) \ 189 F(DebugPopPromise, 0, 1) \
186 F(DebugAsyncTaskEvent, 1, 1) \ 190 F(DebugAsyncTaskEvent, 1, 1) \
187 F(DebugIsActive, 0, 1) \ 191 F(DebugIsActive, 0, 1) \
188 F(DebugBreakInOptimizedCode, 0, 1) 192 F(DebugBreakInOptimizedCode, 0, 1)
189 193
190 #define FOR_EACH_INTRINSIC_FORIN(F) \ 194 #define FOR_EACH_INTRINSIC_FORIN(F) \
191 F(ForInDone, 2, 1) \ 195 F(ForInDone, 2, 1) \
192 F(ForInEnumerate, 1, 1) \ 196 F(ForInEnumerate, 1, 1) \
(...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after
1167 1171
1168 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1172 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1169 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1173 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1170 STATIC_ASSERT(LANGUAGE_END == 3); 1174 STATIC_ASSERT(LANGUAGE_END == 3);
1171 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1175 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1172 1176
1173 } // namespace internal 1177 } // namespace internal
1174 } // namespace v8 1178 } // namespace v8
1175 1179
1176 #endif // V8_RUNTIME_RUNTIME_H_ 1180 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime/runtime-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698