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

Side by Side Diff: src/runtime.h

Issue 11368142: Turn message property of the error object into a data property. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 F(TraceExit, 1, 1) \ 369 F(TraceExit, 1, 1) \
370 F(Abort, 2, 1) \ 370 F(Abort, 2, 1) \
371 /* Logging */ \ 371 /* Logging */ \
372 F(Log, 2, 1) \ 372 F(Log, 2, 1) \
373 /* ES5 */ \ 373 /* ES5 */ \
374 F(LocalKeys, 1, 1) \ 374 F(LocalKeys, 1, 1) \
375 /* Cache suport */ \ 375 /* Cache suport */ \
376 F(GetFromCache, 2, 1) \ 376 F(GetFromCache, 2, 1) \
377 \ 377 \
378 /* Message objects */ \ 378 /* Message objects */ \
379 F(NewMessageObject, 2, 1) \
380 F(MessageGetType, 1, 1) \
381 F(MessageGetArguments, 1, 1) \
382 F(MessageGetStartPosition, 1, 1) \ 379 F(MessageGetStartPosition, 1, 1) \
383 F(MessageGetScript, 1, 1) \ 380 F(MessageGetScript, 1, 1) \
384 \ 381 \
385 /* Pseudo functions - handled as macros by parser */ \ 382 /* Pseudo functions - handled as macros by parser */ \
386 F(IS_VAR, 1, 1) \ 383 F(IS_VAR, 1, 1) \
387 \ 384 \
388 /* expose boolean functions from objects-inl.h */ \ 385 /* expose boolean functions from objects-inl.h */ \
389 F(HasFastSmiElements, 1, 1) \ 386 F(HasFastSmiElements, 1, 1) \
390 F(HasFastSmiOrObjectElements, 1, 1) \ 387 F(HasFastSmiOrObjectElements, 1, 1) \
391 F(HasFastObjectElements, 1, 1) \ 388 F(HasFastObjectElements, 1, 1) \
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 //--------------------------------------------------------------------------- 713 //---------------------------------------------------------------------------
717 // Constants used by interface to runtime functions. 714 // Constants used by interface to runtime functions.
718 715
719 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 716 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
720 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 717 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
721 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 718 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
722 719
723 } } // namespace v8::internal 720 } } // namespace v8::internal
724 721
725 #endif // V8_RUNTIME_H_ 722 #endif // V8_RUNTIME_H_
OLDNEW
« src/messages.cc ('K') | « src/messages.js ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698