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

Side by Side Diff: src/runtime.h

Issue 12957004: ES6 symbols: turn symbols into a proper primitive type (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « src/objects.cc ('k') | src/runtime.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 // 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 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 RUNTIME_FUNCTION_LIST_DEBUG(F) \ 507 RUNTIME_FUNCTION_LIST_DEBUG(F) \
508 RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) 508 RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F)
509 509
510 // ---------------------------------------------------------------------------- 510 // ----------------------------------------------------------------------------
511 // INLINE_FUNCTION_LIST defines all inlined functions accessed 511 // INLINE_FUNCTION_LIST defines all inlined functions accessed
512 // with a native call of the form %_name from within JS code. 512 // with a native call of the form %_name from within JS code.
513 // Entries have the form F(name, number of arguments, number of return values). 513 // Entries have the form F(name, number of arguments, number of return values).
514 #define INLINE_FUNCTION_LIST(F) \ 514 #define INLINE_FUNCTION_LIST(F) \
515 F(IsSmi, 1, 1) \ 515 F(IsSmi, 1, 1) \
516 F(IsNonNegativeSmi, 1, 1) \ 516 F(IsNonNegativeSmi, 1, 1) \
517 F(IsSymbol, 1, 1) \
518 F(IsArray, 1, 1) \ 517 F(IsArray, 1, 1) \
519 F(IsRegExp, 1, 1) \ 518 F(IsRegExp, 1, 1) \
520 F(IsConstructCall, 0, 1) \ 519 F(IsConstructCall, 0, 1) \
521 F(CallFunction, -1 /* receiver + n args + function */, 1) \ 520 F(CallFunction, -1 /* receiver + n args + function */, 1) \
522 F(ArgumentsLength, 0, 1) \ 521 F(ArgumentsLength, 0, 1) \
523 F(Arguments, 1, 1) \ 522 F(Arguments, 1, 1) \
524 F(ValueOf, 1, 1) \ 523 F(ValueOf, 1, 1) \
525 F(SetValueOf, 2, 1) \ 524 F(SetValueOf, 2, 1) \
526 F(DateField, 2 /* date object, field index */, 1) \ 525 F(DateField, 2 /* date object, field index */, 1) \
527 F(StringCharFromCode, 1, 1) \ 526 F(StringCharFromCode, 1, 1) \
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 //--------------------------------------------------------------------------- 717 //---------------------------------------------------------------------------
719 // Constants used by interface to runtime functions. 718 // Constants used by interface to runtime functions.
720 719
721 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 720 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
722 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 721 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
723 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 722 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
724 723
725 } } // namespace v8::internal 724 } } // namespace v8::internal
726 725
727 #endif // V8_RUNTIME_H_ 726 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698