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

Side by Side Diff: src/runtime.h

Issue 215293005: Store i18n meta data in hidden symbols instead of js accessible properties (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: reland Created 6 years, 8 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/i18n.js ('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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 484
485 485
486 #ifdef V8_I18N_SUPPORT 486 #ifdef V8_I18N_SUPPORT
487 #define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) \ 487 #define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) \
488 /* i18n support */ \ 488 /* i18n support */ \
489 /* Standalone, helper methods. */ \ 489 /* Standalone, helper methods. */ \
490 F(CanonicalizeLanguageTag, 1, 1) \ 490 F(CanonicalizeLanguageTag, 1, 1) \
491 F(AvailableLocalesOf, 1, 1) \ 491 F(AvailableLocalesOf, 1, 1) \
492 F(GetDefaultICULocale, 0, 1) \ 492 F(GetDefaultICULocale, 0, 1) \
493 F(GetLanguageTagVariants, 1, 1) \ 493 F(GetLanguageTagVariants, 1, 1) \
494 F(IsInitializedIntlObject, 1, 1) \
495 F(IsInitializedIntlObjectOfType, 2, 1) \
496 F(MarkAsInitializedIntlObjectOfType, 3, 1) \
497 F(GetImplFromInitializedIntlObject, 1, 1) \
494 \ 498 \
495 /* Date format and parse. */ \ 499 /* Date format and parse. */ \
496 F(CreateDateTimeFormat, 3, 1) \ 500 F(CreateDateTimeFormat, 3, 1) \
497 F(InternalDateFormat, 2, 1) \ 501 F(InternalDateFormat, 2, 1) \
498 F(InternalDateParse, 2, 1) \ 502 F(InternalDateParse, 2, 1) \
499 \ 503 \
500 /* Number format and parse. */ \ 504 /* Number format and parse. */ \
501 F(CreateNumberFormat, 3, 1) \ 505 F(CreateNumberFormat, 3, 1) \
502 F(InternalNumberFormat, 2, 1) \ 506 F(InternalNumberFormat, 2, 1) \
503 F(InternalNumberParse, 2, 1) \ 507 F(InternalNumberParse, 2, 1) \
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
908 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 912 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
909 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 913 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
910 914
911 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 915 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
912 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 916 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
913 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; 917 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {};
914 918
915 } } // namespace v8::internal 919 } } // namespace v8::internal
916 920
917 #endif // V8_RUNTIME_H_ 921 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/i18n.js ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698