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

Side by Side Diff: src/runtime.h

Issue 54333003: Remove CreateArrayLiteralShallow (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Code comments and a test. 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/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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 F(ArrayConstructor, -1, 1) \ 293 F(ArrayConstructor, -1, 1) \
294 F(InternalArrayConstructor, -1, 1) \ 294 F(InternalArrayConstructor, -1, 1) \
295 \ 295 \
296 /* Getters and Setters */ \ 296 /* Getters and Setters */ \
297 F(LookupAccessor, 3, 1) \ 297 F(LookupAccessor, 3, 1) \
298 \ 298 \
299 /* Literals */ \ 299 /* Literals */ \
300 F(MaterializeRegExpLiteral, 4, 1)\ 300 F(MaterializeRegExpLiteral, 4, 1)\
301 F(CreateObjectLiteral, 4, 1) \ 301 F(CreateObjectLiteral, 4, 1) \
302 F(CreateArrayLiteral, 3, 1) \ 302 F(CreateArrayLiteral, 3, 1) \
303 F(CreateArrayLiteralShallow, 3, 1) \
304 \ 303 \
305 /* Harmony generators */ \ 304 /* Harmony generators */ \
306 F(CreateJSGeneratorObject, 0, 1) \ 305 F(CreateJSGeneratorObject, 0, 1) \
307 F(SuspendJSGeneratorObject, 1, 1) \ 306 F(SuspendJSGeneratorObject, 1, 1) \
308 F(ResumeJSGeneratorObject, 3, 1) \ 307 F(ResumeJSGeneratorObject, 3, 1) \
309 F(ThrowGeneratorStateError, 1, 1) \ 308 F(ThrowGeneratorStateError, 1, 1) \
310 \ 309 \
311 /* ES5 */ \ 310 /* ES5 */ \
312 F(ObjectFreeze, 1, 1) \ 311 F(ObjectFreeze, 1, 1) \
313 \ 312 \
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 //--------------------------------------------------------------------------- 850 //---------------------------------------------------------------------------
852 // Constants used by interface to runtime functions. 851 // Constants used by interface to runtime functions.
853 852
854 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 853 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
855 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 854 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
856 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 855 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
857 856
858 } } // namespace v8::internal 857 } } // namespace v8::internal
859 858
860 #endif // V8_RUNTIME_H_ 859 #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