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

Side by Side Diff: src/runtime.h

Issue 73943004: Limit the size for typed arrays to MaxSmi. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Typo Created 7 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
« no previous file with comments | « src/d8.cc ('k') | src/runtime.cc » ('j') | src/runtime.cc » ('J')
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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 F(AllocateInOldPointerSpace, 1, 1) \ 106 F(AllocateInOldPointerSpace, 1, 1) \
107 F(AllocateInOldDataSpace, 1, 1) \ 107 F(AllocateInOldDataSpace, 1, 1) \
108 F(SetNativeFlag, 1, 1) \ 108 F(SetNativeFlag, 1, 1) \
109 F(SetInlineBuiltinFlag, 1, 1) \ 109 F(SetInlineBuiltinFlag, 1, 1) \
110 F(StoreArrayLiteralElement, 5, 1) \ 110 F(StoreArrayLiteralElement, 5, 1) \
111 F(DebugCallbackSupportsStepping, 1, 1) \ 111 F(DebugCallbackSupportsStepping, 1, 1) \
112 F(DebugPrepareStepInIfStepping, 1, 1) \ 112 F(DebugPrepareStepInIfStepping, 1, 1) \
113 F(FlattenString, 1, 1) \ 113 F(FlattenString, 1, 1) \
114 F(MigrateInstance, 1, 1) \ 114 F(MigrateInstance, 1, 1) \
115 F(NotifyContextDisposed, 0, 1) \ 115 F(NotifyContextDisposed, 0, 1) \
116 F(MaxSmi, 0, 1) \
116 \ 117 \
117 /* Array join support */ \ 118 /* Array join support */ \
118 F(PushIfAbsent, 2, 1) \ 119 F(PushIfAbsent, 2, 1) \
119 F(ArrayConcat, 1, 1) \ 120 F(ArrayConcat, 1, 1) \
120 \ 121 \
121 /* Conversions */ \ 122 /* Conversions */ \
122 F(ToBool, 1, 1) \ 123 F(ToBool, 1, 1) \
123 F(Typeof, 1, 1) \ 124 F(Typeof, 1, 1) \
124 \ 125 \
125 F(StringToNumber, 1, 1) \ 126 F(StringToNumber, 1, 1) \
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after
844 //--------------------------------------------------------------------------- 845 //---------------------------------------------------------------------------
845 // Constants used by interface to runtime functions. 846 // Constants used by interface to runtime functions.
846 847
847 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 848 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
848 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 849 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
849 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 850 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
850 851
851 } } // namespace v8::internal 852 } } // namespace v8::internal
852 853
853 #endif // V8_RUNTIME_H_ 854 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/d8.cc ('k') | src/runtime.cc » ('j') | src/runtime.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698