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

Side by Side Diff: src/runtime.h

Issue 12385082: Make sure builtin functions don't rely on __proto__. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/proxy.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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(GetDefaultReceiver, 1, 1) \ 67 F(GetDefaultReceiver, 1, 1) \
68 \ 68 \
69 F(GetPrototype, 1, 1) \ 69 F(GetPrototype, 1, 1) \
70 F(SetPrototype, 2, 1) \
70 F(IsInPrototypeChain, 2, 1) \ 71 F(IsInPrototypeChain, 2, 1) \
71 \ 72 \
72 F(GetOwnProperty, 2, 1) \ 73 F(GetOwnProperty, 2, 1) \
73 \ 74 \
74 F(IsExtensible, 1, 1) \ 75 F(IsExtensible, 1, 1) \
75 F(PreventExtensions, 1, 1)\ 76 F(PreventExtensions, 1, 1)\
76 \ 77 \
77 /* Utilities */ \ 78 /* Utilities */ \
78 F(CheckIsBootstrapping, 0, 1) \ 79 F(CheckIsBootstrapping, 0, 1) \
79 F(GetRootNaN, 0, 1) \ 80 F(GetRootNaN, 0, 1) \
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 //--------------------------------------------------------------------------- 713 //---------------------------------------------------------------------------
713 // Constants used by interface to runtime functions. 714 // Constants used by interface to runtime functions.
714 715
715 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 716 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
716 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 717 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
717 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 718 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
718 719
719 } } // namespace v8::internal 720 } } // namespace v8::internal
720 721
721 #endif // V8_RUNTIME_H_ 722 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/proxy.js ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698