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

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

Issue 861623002: Add a pretty printer to improve the error message non-function calls (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comment Created 5 years, 11 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/runtime.js ('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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 \ 376 \
377 /* Debugging */ \ 377 /* Debugging */ \
378 F(DebugPrint, 1, 1) \ 378 F(DebugPrint, 1, 1) \
379 F(GlobalPrint, 1, 1) \ 379 F(GlobalPrint, 1, 1) \
380 F(DebugTrace, 0, 1) \ 380 F(DebugTrace, 0, 1) \
381 F(TraceEnter, 0, 1) \ 381 F(TraceEnter, 0, 1) \
382 F(TraceExit, 1, 1) \ 382 F(TraceExit, 1, 1) \
383 F(Abort, 1, 1) \ 383 F(Abort, 1, 1) \
384 F(AbortJS, 1, 1) \ 384 F(AbortJS, 1, 1) \
385 F(NativeScriptsCount, 0, 1) \ 385 F(NativeScriptsCount, 0, 1) \
386 F(RenderCallSite, 0, 1) \
386 /* ES5 */ \ 387 /* ES5 */ \
387 F(OwnKeys, 1, 1) \ 388 F(OwnKeys, 1, 1) \
388 \ 389 \
389 /* Message objects */ \ 390 /* Message objects */ \
390 F(MessageGetStartPosition, 1, 1) \ 391 F(MessageGetStartPosition, 1, 1) \
391 F(MessageGetScript, 1, 1) \ 392 F(MessageGetScript, 1, 1) \
392 \ 393 \
393 /* Pseudo functions - handled as macros by parser */ \ 394 /* Pseudo functions - handled as macros by parser */ \
394 F(IS_VAR, 1, 1) \ 395 F(IS_VAR, 1, 1) \
395 \ 396 \
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; 891 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {};
891 892
892 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 893 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
893 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 894 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
894 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; 895 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {};
895 896
896 } // namespace internal 897 } // namespace internal
897 } // namespace v8 898 } // namespace v8
898 899
899 #endif // V8_RUNTIME_RUNTIME_H_ 900 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/runtime.js ('k') | src/runtime/runtime-internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698