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

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

Issue 1122973002: Move more parts of stack trace formatting to runtime. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: addressed comments Created 5 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-internal.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/objects.h" 9 #include "src/objects.h"
10 #include "src/zone.h" 10 #include "src/zone.h"
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 F(AllocateInTargetSpace, 2, 1) \ 284 F(AllocateInTargetSpace, 2, 1) \
285 F(CollectStackTrace, 2, 1) \ 285 F(CollectStackTrace, 2, 1) \
286 F(RenderCallSite, 0, 1) \ 286 F(RenderCallSite, 0, 1) \
287 F(GetFromCacheRT, 2, 1) \ 287 F(GetFromCacheRT, 2, 1) \
288 F(MessageGetStartPosition, 1, 1) \ 288 F(MessageGetStartPosition, 1, 1) \
289 F(MessageGetScript, 1, 1) \ 289 F(MessageGetScript, 1, 1) \
290 F(FormatMessageString, 4, 1) \ 290 F(FormatMessageString, 4, 1) \
291 F(CallSiteGetFileNameRT, 3, 1) \ 291 F(CallSiteGetFileNameRT, 3, 1) \
292 F(CallSiteGetFunctionNameRT, 3, 1) \ 292 F(CallSiteGetFunctionNameRT, 3, 1) \
293 F(CallSiteGetScriptNameOrSourceUrlRT, 3, 1) \ 293 F(CallSiteGetScriptNameOrSourceUrlRT, 3, 1) \
294 F(CallSiteGetMethodNameRT, 3, 1) \
294 F(CallSiteGetLineNumberRT, 3, 1) \ 295 F(CallSiteGetLineNumberRT, 3, 1) \
295 F(CallSiteGetColumnNumberRT, 3, 1) \ 296 F(CallSiteGetColumnNumberRT, 3, 1) \
296 F(CallSiteIsNativeRT, 3, 1) \ 297 F(CallSiteIsNativeRT, 3, 1) \
297 F(CallSiteIsToplevelRT, 3, 1) \ 298 F(CallSiteIsToplevelRT, 3, 1) \
298 F(CallSiteIsEvalRT, 3, 1) \ 299 F(CallSiteIsEvalRT, 3, 1) \
300 F(CallSiteIsConstructorRT, 3, 1) \
299 F(IS_VAR, 1, 1) \ 301 F(IS_VAR, 1, 1) \
300 F(GetFromCache, 2, 1) \ 302 F(GetFromCache, 2, 1) \
301 F(IncrementStatsCounter, 1, 1) \ 303 F(IncrementStatsCounter, 1, 1) \
302 F(Likely, 1, 1) \ 304 F(Likely, 1, 1) \
303 F(Unlikely, 1, 1) \ 305 F(Unlikely, 1, 1) \
304 F(HarmonyToString, 0, 1) 306 F(HarmonyToString, 0, 1)
305 307
306 308
307 #define FOR_EACH_INTRINSIC_JSON(F) \ 309 #define FOR_EACH_INTRINSIC_JSON(F) \
308 F(QuoteJSONString, 1, 1) \ 310 F(QuoteJSONString, 1, 1) \
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
864 866
865 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 867 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
866 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 868 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
867 STATIC_ASSERT(LANGUAGE_END == 3); 869 STATIC_ASSERT(LANGUAGE_END == 3);
868 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 870 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
869 871
870 } // namespace internal 872 } // namespace internal
871 } // namespace v8 873 } // namespace v8
872 874
873 #endif // V8_RUNTIME_RUNTIME_H_ 875 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime/runtime-internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698