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

Side by Side Diff: src/runtime.h

Issue 16399007: Move runtime array constructor functions from builtins.cc to runtime.cc. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Comment updates Created 7 years, 6 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/mips/code-stubs-mips.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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 F(DefineOrRedefineDataProperty, 4, 1) \ 280 F(DefineOrRedefineDataProperty, 4, 1) \
281 F(DefineOrRedefineAccessorProperty, 5, 1) \ 281 F(DefineOrRedefineAccessorProperty, 5, 1) \
282 F(IgnoreAttributesAndSetProperty, -1 /* 3 or 4 */, 1) \ 282 F(IgnoreAttributesAndSetProperty, -1 /* 3 or 4 */, 1) \
283 F(GetDataProperty, 2, 1) \ 283 F(GetDataProperty, 2, 1) \
284 \ 284 \
285 /* Arrays */ \ 285 /* Arrays */ \
286 F(RemoveArrayHoles, 2, 1) \ 286 F(RemoveArrayHoles, 2, 1) \
287 F(GetArrayKeys, 2, 1) \ 287 F(GetArrayKeys, 2, 1) \
288 F(MoveArrayContents, 2, 1) \ 288 F(MoveArrayContents, 2, 1) \
289 F(EstimateNumberOfElements, 1, 1) \ 289 F(EstimateNumberOfElements, 1, 1) \
290 F(ArrayConstructor, -1, 1) \
291 F(InternalArrayConstructor, -1, 1) \
290 \ 292 \
291 /* Getters and Setters */ \ 293 /* Getters and Setters */ \
292 F(LookupAccessor, 3, 1) \ 294 F(LookupAccessor, 3, 1) \
293 \ 295 \
294 /* Literals */ \ 296 /* Literals */ \
295 F(MaterializeRegExpLiteral, 4, 1)\ 297 F(MaterializeRegExpLiteral, 4, 1)\
296 F(CreateObjectLiteral, 4, 1) \ 298 F(CreateObjectLiteral, 4, 1) \
297 F(CreateObjectLiteralShallow, 4, 1) \ 299 F(CreateObjectLiteralShallow, 4, 1) \
298 F(CreateArrayLiteral, 3, 1) \ 300 F(CreateArrayLiteral, 3, 1) \
299 F(CreateArrayLiteralShallow, 3, 1) \ 301 F(CreateArrayLiteralShallow, 3, 1) \
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
780 //--------------------------------------------------------------------------- 782 //---------------------------------------------------------------------------
781 // Constants used by interface to runtime functions. 783 // Constants used by interface to runtime functions.
782 784
783 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 785 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
784 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 786 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
785 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 787 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
786 788
787 } } // namespace v8::internal 789 } } // namespace v8::internal
788 790
789 #endif // V8_RUNTIME_H_ 791 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698