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

Side by Side Diff: src/runtime.h

Issue 177683002: Mode clean-up pt 1: rename classic/non-strict mode to sloppy mode (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 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
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 F(GetPropertyNamesFast, 1, 1) \ 57 F(GetPropertyNamesFast, 1, 1) \
58 F(GetLocalPropertyNames, 2, 1) \ 58 F(GetLocalPropertyNames, 2, 1) \
59 F(GetLocalElementNames, 1, 1) \ 59 F(GetLocalElementNames, 1, 1) \
60 F(GetInterceptorInfo, 1, 1) \ 60 F(GetInterceptorInfo, 1, 1) \
61 F(GetNamedInterceptorPropertyNames, 1, 1) \ 61 F(GetNamedInterceptorPropertyNames, 1, 1) \
62 F(GetIndexedInterceptorElementNames, 1, 1) \ 62 F(GetIndexedInterceptorElementNames, 1, 1) \
63 F(GetArgumentsProperty, 1, 1) \ 63 F(GetArgumentsProperty, 1, 1) \
64 F(ToFastProperties, 1, 1) \ 64 F(ToFastProperties, 1, 1) \
65 F(FinishArrayPrototypeSetup, 1, 1) \ 65 F(FinishArrayPrototypeSetup, 1, 1) \
66 F(SpecialArrayFunctions, 1, 1) \ 66 F(SpecialArrayFunctions, 1, 1) \
67 F(IsClassicModeFunction, 1, 1) \ 67 F(IsSloppyModeFunction, 1, 1) \
68 F(GetDefaultReceiver, 1, 1) \ 68 F(GetDefaultReceiver, 1, 1) \
69 \ 69 \
70 F(GetPrototype, 1, 1) \ 70 F(GetPrototype, 1, 1) \
71 F(SetPrototype, 2, 1) \ 71 F(SetPrototype, 2, 1) \
72 F(IsInPrototypeChain, 2, 1) \ 72 F(IsInPrototypeChain, 2, 1) \
73 \ 73 \
74 F(GetOwnProperty, 2, 1) \ 74 F(GetOwnProperty, 2, 1) \
75 \ 75 \
76 F(IsExtensible, 1, 1) \ 76 F(IsExtensible, 1, 1) \
77 F(PreventExtensions, 1, 1)\ 77 F(PreventExtensions, 1, 1)\
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 /* Pseudo functions - handled as macros by parser */ \ 462 /* Pseudo functions - handled as macros by parser */ \
463 F(IS_VAR, 1, 1) \ 463 F(IS_VAR, 1, 1) \
464 \ 464 \
465 /* expose boolean functions from objects-inl.h */ \ 465 /* expose boolean functions from objects-inl.h */ \
466 F(HasFastSmiElements, 1, 1) \ 466 F(HasFastSmiElements, 1, 1) \
467 F(HasFastSmiOrObjectElements, 1, 1) \ 467 F(HasFastSmiOrObjectElements, 1, 1) \
468 F(HasFastObjectElements, 1, 1) \ 468 F(HasFastObjectElements, 1, 1) \
469 F(HasFastDoubleElements, 1, 1) \ 469 F(HasFastDoubleElements, 1, 1) \
470 F(HasFastHoleyElements, 1, 1) \ 470 F(HasFastHoleyElements, 1, 1) \
471 F(HasDictionaryElements, 1, 1) \ 471 F(HasDictionaryElements, 1, 1) \
472 F(HasNonStrictArgumentsElements, 1, 1) \ 472 F(HasSloppyArgumentsElements, 1, 1) \
473 F(HasExternalUint8ClampedElements, 1, 1) \ 473 F(HasExternalUint8ClampedElements, 1, 1) \
474 F(HasExternalArrayElements, 1, 1) \ 474 F(HasExternalArrayElements, 1, 1) \
475 F(HasExternalInt8Elements, 1, 1) \ 475 F(HasExternalInt8Elements, 1, 1) \
476 F(HasExternalUint8Elements, 1, 1) \ 476 F(HasExternalUint8Elements, 1, 1) \
477 F(HasExternalInt16Elements, 1, 1) \ 477 F(HasExternalInt16Elements, 1, 1) \
478 F(HasExternalUint16Elements, 1, 1) \ 478 F(HasExternalUint16Elements, 1, 1) \
479 F(HasExternalInt32Elements, 1, 1) \ 479 F(HasExternalInt32Elements, 1, 1) \
480 F(HasExternalUint32Elements, 1, 1) \ 480 F(HasExternalUint32Elements, 1, 1) \
481 F(HasExternalFloat32Elements, 1, 1) \ 481 F(HasExternalFloat32Elements, 1, 1) \
482 F(HasExternalFloat64Elements, 1, 1) \ 482 F(HasExternalFloat64Elements, 1, 1) \
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
873 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 873 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
874 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 874 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
875 875
876 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 876 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
877 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 877 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
878 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 878 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
879 879
880 } } // namespace v8::internal 880 } } // namespace v8::internal
881 881
882 #endif // V8_RUNTIME_H_ 882 #endif // V8_RUNTIME_H_
OLDNEW
« src/preparser.h ('K') | « src/preparser.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698