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

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

Issue 1706823003: Use displayName in Error.stack rendering if present. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/messages.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/base/platform/time.h" 9 #include "src/base/platform/time.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 F(CreateBreakIterator, 3, 1) \ 287 F(CreateBreakIterator, 3, 1) \
288 F(BreakIteratorAdoptText, 2, 1) \ 288 F(BreakIteratorAdoptText, 2, 1) \
289 F(BreakIteratorFirst, 1, 1) \ 289 F(BreakIteratorFirst, 1, 1) \
290 F(BreakIteratorNext, 1, 1) \ 290 F(BreakIteratorNext, 1, 1) \
291 F(BreakIteratorCurrent, 1, 1) \ 291 F(BreakIteratorCurrent, 1, 1) \
292 F(BreakIteratorBreakType, 1, 1) 292 F(BreakIteratorBreakType, 1, 1)
293 #else 293 #else
294 #define FOR_EACH_INTRINSIC_I18N(F) 294 #define FOR_EACH_INTRINSIC_I18N(F)
295 #endif 295 #endif
296 296
297
298 #define FOR_EACH_INTRINSIC_INTERNAL(F) \ 297 #define FOR_EACH_INTRINSIC_INTERNAL(F) \
299 F(CheckIsBootstrapping, 0, 1) \ 298 F(CheckIsBootstrapping, 0, 1) \
300 F(ExportFromRuntime, 1, 1) \ 299 F(ExportFromRuntime, 1, 1) \
301 F(ExportExperimentalFromRuntime, 1, 1) \ 300 F(ExportExperimentalFromRuntime, 1, 1) \
302 F(InstallToContext, 1, 1) \ 301 F(InstallToContext, 1, 1) \
303 F(Throw, 1, 1) \ 302 F(Throw, 1, 1) \
304 F(ReThrow, 1, 1) \ 303 F(ReThrow, 1, 1) \
305 F(UnwindAndFindExceptionHandler, 0, 1) \ 304 F(UnwindAndFindExceptionHandler, 0, 1) \
306 F(PromoteScheduledException, 0, 1) \ 305 F(PromoteScheduledException, 0, 1) \
307 F(ThrowReferenceError, 1, 1) \ 306 F(ThrowReferenceError, 1, 1) \
(...skipping 10 matching lines...) Expand all
318 F(StackGuard, 0, 1) \ 317 F(StackGuard, 0, 1) \
319 F(Interrupt, 0, 1) \ 318 F(Interrupt, 0, 1) \
320 F(AllocateInNewSpace, 1, 1) \ 319 F(AllocateInNewSpace, 1, 1) \
321 F(AllocateInTargetSpace, 2, 1) \ 320 F(AllocateInTargetSpace, 2, 1) \
322 F(CollectStackTrace, 2, 1) \ 321 F(CollectStackTrace, 2, 1) \
323 F(MessageGetStartPosition, 1, 1) \ 322 F(MessageGetStartPosition, 1, 1) \
324 F(MessageGetScript, 1, 1) \ 323 F(MessageGetScript, 1, 1) \
325 F(FormatMessageString, 4, 1) \ 324 F(FormatMessageString, 4, 1) \
326 F(CallSiteGetFileNameRT, 1, 1) \ 325 F(CallSiteGetFileNameRT, 1, 1) \
327 F(CallSiteGetFunctionNameRT, 1, 1) \ 326 F(CallSiteGetFunctionNameRT, 1, 1) \
327 F(CallSiteGetDebugNameRT, 1, 1) \
328 F(CallSiteGetScriptNameOrSourceUrlRT, 1, 1) \ 328 F(CallSiteGetScriptNameOrSourceUrlRT, 1, 1) \
329 F(CallSiteGetMethodNameRT, 1, 1) \ 329 F(CallSiteGetMethodNameRT, 1, 1) \
330 F(CallSiteGetLineNumberRT, 1, 1) \ 330 F(CallSiteGetLineNumberRT, 1, 1) \
331 F(CallSiteGetColumnNumberRT, 1, 1) \ 331 F(CallSiteGetColumnNumberRT, 1, 1) \
332 F(CallSiteIsNativeRT, 1, 1) \ 332 F(CallSiteIsNativeRT, 1, 1) \
333 F(CallSiteIsToplevelRT, 1, 1) \ 333 F(CallSiteIsToplevelRT, 1, 1) \
334 F(CallSiteIsEvalRT, 1, 1) \ 334 F(CallSiteIsEvalRT, 1, 1) \
335 F(CallSiteIsConstructorRT, 1, 1) \ 335 F(CallSiteIsConstructorRT, 1, 1) \
336 F(IS_VAR, 1, 1) \ 336 F(IS_VAR, 1, 1) \
337 F(IncrementStatsCounter, 1, 1) \ 337 F(IncrementStatsCounter, 1, 1) \
338 F(ThrowConstructedNonConstructable, 1, 1) \ 338 F(ThrowConstructedNonConstructable, 1, 1) \
339 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ 339 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \
340 F(ThrowCalledNonCallable, 1, 1) \ 340 F(ThrowCalledNonCallable, 1, 1) \
341 F(CreateListFromArrayLike, 1, 1) \ 341 F(CreateListFromArrayLike, 1, 1) \
342 F(IncrementUseCounter, 1, 1) \ 342 F(IncrementUseCounter, 1, 1) \
343 F(GetAndResetRuntimeCallStats, 0, 1) 343 F(GetAndResetRuntimeCallStats, 0, 1)
344 344
345
346 #define FOR_EACH_INTRINSIC_JSON(F) \ 345 #define FOR_EACH_INTRINSIC_JSON(F) \
347 F(QuoteJSONString, 1, 1) \ 346 F(QuoteJSONString, 1, 1) \
348 F(BasicJSONStringify, 1, 1) \ 347 F(BasicJSONStringify, 1, 1) \
349 F(ParseJson, 1, 1) 348 F(ParseJson, 1, 1)
350 349
351 350
352 #define FOR_EACH_INTRINSIC_LITERALS(F) \ 351 #define FOR_EACH_INTRINSIC_LITERALS(F) \
353 F(CreateRegExpLiteral, 4, 1) \ 352 F(CreateRegExpLiteral, 4, 1) \
354 F(CreateObjectLiteral, 4, 1) \ 353 F(CreateObjectLiteral, 4, 1) \
355 F(CreateArrayLiteral, 4, 1) \ 354 F(CreateArrayLiteral, 4, 1) \
(...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after
1206 1205
1207 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1206 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1208 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1207 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1209 STATIC_ASSERT(LANGUAGE_END == 3); 1208 STATIC_ASSERT(LANGUAGE_END == 3);
1210 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1209 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1211 1210
1212 } // namespace internal 1211 } // namespace internal
1213 } // namespace v8 1212 } // namespace v8
1214 1213
1215 #endif // V8_RUNTIME_RUNTIME_H_ 1214 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/messages.cc ('k') | src/runtime/runtime-internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698