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

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

Issue 1507273002: Make Error.prototype.toString spec compliant; and fix various side-effect-free error printing metho… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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
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/unicode.h" 10 #include "src/unicode.h"
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 F(ThrowStrongModeImplicitConversion, 0, 1) \ 328 F(ThrowStrongModeImplicitConversion, 0, 1) \
329 F(PromiseRejectEvent, 3, 1) \ 329 F(PromiseRejectEvent, 3, 1) \
330 F(PromiseRevokeReject, 1, 1) \ 330 F(PromiseRevokeReject, 1, 1) \
331 F(StackGuard, 0, 1) \ 331 F(StackGuard, 0, 1) \
332 F(Interrupt, 0, 1) \ 332 F(Interrupt, 0, 1) \
333 F(AllocateInNewSpace, 1, 1) \ 333 F(AllocateInNewSpace, 1, 1) \
334 F(AllocateInTargetSpace, 2, 1) \ 334 F(AllocateInTargetSpace, 2, 1) \
335 F(CollectStackTrace, 2, 1) \ 335 F(CollectStackTrace, 2, 1) \
336 F(MessageGetStartPosition, 1, 1) \ 336 F(MessageGetStartPosition, 1, 1) \
337 F(MessageGetScript, 1, 1) \ 337 F(MessageGetScript, 1, 1) \
338 F(ErrorToStringRT, 1, 1) \
339 F(FormatMessageString, 4, 1) \ 338 F(FormatMessageString, 4, 1) \
340 F(CallSiteGetFileNameRT, 1, 1) \ 339 F(CallSiteGetFileNameRT, 1, 1) \
341 F(CallSiteGetFunctionNameRT, 1, 1) \ 340 F(CallSiteGetFunctionNameRT, 1, 1) \
342 F(CallSiteGetScriptNameOrSourceUrlRT, 1, 1) \ 341 F(CallSiteGetScriptNameOrSourceUrlRT, 1, 1) \
343 F(CallSiteGetMethodNameRT, 1, 1) \ 342 F(CallSiteGetMethodNameRT, 1, 1) \
344 F(CallSiteGetLineNumberRT, 1, 1) \ 343 F(CallSiteGetLineNumberRT, 1, 1) \
345 F(CallSiteGetColumnNumberRT, 1, 1) \ 344 F(CallSiteGetColumnNumberRT, 1, 1) \
346 F(CallSiteIsNativeRT, 1, 1) \ 345 F(CallSiteIsNativeRT, 1, 1) \
347 F(CallSiteIsToplevelRT, 1, 1) \ 346 F(CallSiteIsToplevelRT, 1, 1) \
348 F(CallSiteIsEvalRT, 1, 1) \ 347 F(CallSiteIsEvalRT, 1, 1) \
(...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after
1251 1250
1252 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1251 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1253 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1252 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1254 STATIC_ASSERT(LANGUAGE_END == 3); 1253 STATIC_ASSERT(LANGUAGE_END == 3);
1255 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1254 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1256 1255
1257 } // namespace internal 1256 } // namespace internal
1258 } // namespace v8 1257 } // namespace v8
1259 1258
1260 #endif // V8_RUNTIME_RUNTIME_H_ 1259 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« src/messages.cc ('K') | « src/objects.cc ('k') | src/runtime/runtime-internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698