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

Side by Side Diff: src/runtime.h

Issue 7901016: Basic support for tracking smi-only arrays on ia32. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: ready to land Created 9 years, 3 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 312 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) \
333 /* Debugging */ \ 335 /* Debugging */ \
334 F(DebugPrint, 1, 1) \ 336 F(DebugPrint, 1, 1) \
335 F(DebugTrace, 0, 1) \ 337 F(DebugTrace, 0, 1) \
336 F(TraceEnter, 0, 1) \ 338 F(TraceEnter, 0, 1) \
337 F(TraceExit, 1, 1) \ 339 F(TraceExit, 1, 1) \
338 F(Abort, 2, 1) \ 340 F(Abort, 2, 1) \
339 /* Logging */ \ 341 /* Logging */ \
340 F(Log, 2, 1) \ 342 F(Log, 2, 1) \
341 /* ES5 */ \ 343 /* ES5 */ \
342 F(LocalKeys, 1, 1) \ 344 F(LocalKeys, 1, 1) \
343 /* Cache suport */ \ 345 /* Cache suport */ \
344 F(GetFromCache, 2, 1) \ 346 F(GetFromCache, 2, 1) \
345 \ 347 \
346 /* Message objects */ \ 348 /* Message objects */ \
347 F(NewMessageObject, 2, 1) \ 349 F(NewMessageObject, 2, 1) \
348 F(MessageGetType, 1, 1) \ 350 F(MessageGetType, 1, 1) \
349 F(MessageGetArguments, 1, 1) \ 351 F(MessageGetArguments, 1, 1) \
350 F(MessageGetStartPosition, 1, 1) \ 352 F(MessageGetStartPosition, 1, 1) \
351 F(MessageGetScript, 1, 1) \ 353 F(MessageGetScript, 1, 1) \
352 \ 354 \
353 /* Pseudo functions - handled as macros by parser */ \ 355 /* Pseudo functions - handled as macros by parser */ \
354 F(IS_VAR, 1, 1) \ 356 F(IS_VAR, 1, 1) \
355 \ 357 \
356 /* expose boolean functions from objects-inl.h */ \ 358 /* expose boolean functions from objects-inl.h */ \
359 F(HasFastSmiOnlyElements, 1, 1) \
357 F(HasFastElements, 1, 1) \ 360 F(HasFastElements, 1, 1) \
358 F(HasFastDoubleElements, 1, 1) \ 361 F(HasFastDoubleElements, 1, 1) \
359 F(HasDictionaryElements, 1, 1) \ 362 F(HasDictionaryElements, 1, 1) \
360 F(HasExternalPixelElements, 1, 1) \ 363 F(HasExternalPixelElements, 1, 1) \
361 F(HasExternalArrayElements, 1, 1) \ 364 F(HasExternalArrayElements, 1, 1) \
362 F(HasExternalByteElements, 1, 1) \ 365 F(HasExternalByteElements, 1, 1) \
363 F(HasExternalUnsignedByteElements, 1, 1) \ 366 F(HasExternalUnsignedByteElements, 1, 1) \
364 F(HasExternalShortElements, 1, 1) \ 367 F(HasExternalShortElements, 1, 1) \
365 F(HasExternalUnsignedShortElements, 1, 1) \ 368 F(HasExternalUnsignedShortElements, 1, 1) \
366 F(HasExternalIntElements, 1, 1) \ 369 F(HasExternalIntElements, 1, 1) \
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 678
676 enum kDeclareGlobalsFlags { 679 enum kDeclareGlobalsFlags {
677 kDeclareGlobalsEvalFlag = 1 << 0, 680 kDeclareGlobalsEvalFlag = 1 << 0,
678 kDeclareGlobalsStrictModeFlag = 1 << 1, 681 kDeclareGlobalsStrictModeFlag = 1 << 1,
679 kDeclareGlobalsNativeFlag = 1 << 2 682 kDeclareGlobalsNativeFlag = 1 << 2
680 }; 683 };
681 684
682 } } // namespace v8::internal 685 } } // namespace v8::internal
683 686
684 #endif // V8_RUNTIME_H_ 687 #endif // V8_RUNTIME_H_
OLDNEW
« src/bootstrapper.cc ('K') | « src/objects-printer.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698