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

Side by Side Diff: src/runtime.h

Issue 8258015: Support array literals with FAST_DOUBLE_ELEMENTS ElementsKind. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: remove regressions Created 9 years, 2 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 F(MoveArrayContents, 2, 1) \ 271 F(MoveArrayContents, 2, 1) \
272 F(EstimateNumberOfElements, 1, 1) \ 272 F(EstimateNumberOfElements, 1, 1) \
273 F(SwapElements, 3, 1) \ 273 F(SwapElements, 3, 1) \
274 \ 274 \
275 /* Getters and Setters */ \ 275 /* Getters and Setters */ \
276 F(DefineAccessor, -1 /* 4 or 5 */, 1) \ 276 F(DefineAccessor, -1 /* 4 or 5 */, 1) \
277 F(LookupAccessor, 3, 1) \ 277 F(LookupAccessor, 3, 1) \
278 \ 278 \
279 /* Literals */ \ 279 /* Literals */ \
280 F(MaterializeRegExpLiteral, 4, 1)\ 280 F(MaterializeRegExpLiteral, 4, 1)\
281 F(CreateArrayLiteralBoilerplate, 3, 1) \ 281 F(CreateArrayLiteralBoilerplate, 4, 1) \
282 F(CloneLiteralBoilerplate, 1, 1) \ 282 F(CloneLiteralBoilerplate, 1, 1) \
283 F(CloneShallowLiteralBoilerplate, 1, 1) \ 283 F(CloneShallowLiteralBoilerplate, 1, 1) \
284 F(CreateObjectLiteral, 4, 1) \ 284 F(CreateObjectLiteral, 4, 1) \
285 F(CreateObjectLiteralShallow, 4, 1) \ 285 F(CreateObjectLiteralShallow, 4, 1) \
286 F(CreateArrayLiteral, 3, 1) \ 286 F(CreateArrayLiteral, 3, 1) \
287 F(CreateArrayLiteralShallow, 3, 1) \ 287 F(CreateArrayLiteralShallow, 3, 1) \
288 \ 288 \
289 /* Harmony proxies */ \ 289 /* Harmony proxies */ \
290 F(CreateJSProxy, 2, 1) \ 290 F(CreateJSProxy, 2, 1) \
291 F(CreateJSFunctionProxy, 4, 1) \ 291 F(CreateJSFunctionProxy, 4, 1) \
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 F(StoreContextSlot, 4, 1) \ 323 F(StoreContextSlot, 4, 1) \
324 \ 324 \
325 /* Declarations and initialization */ \ 325 /* Declarations and initialization */ \
326 F(DeclareGlobals, 3, 1) \ 326 F(DeclareGlobals, 3, 1) \
327 F(DeclareContextSlot, 4, 1) \ 327 F(DeclareContextSlot, 4, 1) \
328 F(InitializeVarGlobal, -1 /* 2 or 3 */, 1) \ 328 F(InitializeVarGlobal, -1 /* 2 or 3 */, 1) \
329 F(InitializeConstGlobal, 2, 1) \ 329 F(InitializeConstGlobal, 2, 1) \
330 F(InitializeConstContextSlot, 3, 1) \ 330 F(InitializeConstContextSlot, 3, 1) \
331 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ 331 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \
332 \ 332 \
333 /* Arrays */ \
334 F(NonSmiElementStored, 1, 1) \
335 /* Debugging */ \ 333 /* Debugging */ \
336 F(DebugPrint, 1, 1) \ 334 F(DebugPrint, 1, 1) \
337 F(DebugTrace, 0, 1) \ 335 F(DebugTrace, 0, 1) \
338 F(TraceEnter, 0, 1) \ 336 F(TraceEnter, 0, 1) \
339 F(TraceExit, 1, 1) \ 337 F(TraceExit, 1, 1) \
340 F(Abort, 2, 1) \ 338 F(Abort, 2, 1) \
341 /* Logging */ \ 339 /* Logging */ \
342 F(Log, 2, 1) \ 340 F(Log, 2, 1) \
343 /* ES5 */ \ 341 /* ES5 */ \
344 F(LocalKeys, 1, 1) \ 342 F(LocalKeys, 1, 1) \
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 677
680 enum kDeclareGlobalsFlags { 678 enum kDeclareGlobalsFlags {
681 kDeclareGlobalsEvalFlag = 1 << 0, 679 kDeclareGlobalsEvalFlag = 1 << 0,
682 kDeclareGlobalsStrictModeFlag = 1 << 1, 680 kDeclareGlobalsStrictModeFlag = 1 << 1,
683 kDeclareGlobalsNativeFlag = 1 << 2 681 kDeclareGlobalsNativeFlag = 1 << 2
684 }; 682 };
685 683
686 } } // namespace v8::internal 684 } } // namespace v8::internal
687 685
688 #endif // V8_RUNTIME_H_ 686 #endif // V8_RUNTIME_H_
OLDNEW
« src/arm/full-codegen-arm.cc ('K') | « src/parser.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698