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

Side by Side Diff: src/runtime.h

Issue 10532021: Keep track of which maps are associated with prototype objects so we can tune the fast-case vs. has… (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 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/objects-inl.h ('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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 F(HasExternalPixelElements, 1, 1) \ 373 F(HasExternalPixelElements, 1, 1) \
374 F(HasExternalArrayElements, 1, 1) \ 374 F(HasExternalArrayElements, 1, 1) \
375 F(HasExternalByteElements, 1, 1) \ 375 F(HasExternalByteElements, 1, 1) \
376 F(HasExternalUnsignedByteElements, 1, 1) \ 376 F(HasExternalUnsignedByteElements, 1, 1) \
377 F(HasExternalShortElements, 1, 1) \ 377 F(HasExternalShortElements, 1, 1) \
378 F(HasExternalUnsignedShortElements, 1, 1) \ 378 F(HasExternalUnsignedShortElements, 1, 1) \
379 F(HasExternalIntElements, 1, 1) \ 379 F(HasExternalIntElements, 1, 1) \
380 F(HasExternalUnsignedIntElements, 1, 1) \ 380 F(HasExternalUnsignedIntElements, 1, 1) \
381 F(HasExternalFloatElements, 1, 1) \ 381 F(HasExternalFloatElements, 1, 1) \
382 F(HasExternalDoubleElements, 1, 1) \ 382 F(HasExternalDoubleElements, 1, 1) \
383 F(HasFastProperties, 1, 1) \
383 F(TransitionElementsSmiToDouble, 1, 1) \ 384 F(TransitionElementsSmiToDouble, 1, 1) \
384 F(TransitionElementsDoubleToObject, 1, 1) \ 385 F(TransitionElementsDoubleToObject, 1, 1) \
385 F(HaveSameMap, 2, 1) \ 386 F(HaveSameMap, 2, 1) \
386 /* profiler */ \ 387 /* profiler */ \
387 F(ProfilerResume, 0, 1) \ 388 F(ProfilerResume, 0, 1) \
388 F(ProfilerPause, 0, 1) 389 F(ProfilerPause, 0, 1)
389 390
390 391
391 #ifdef ENABLE_DEBUGGER_SUPPORT 392 #ifdef ENABLE_DEBUGGER_SUPPORT
392 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \ 393 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 //--------------------------------------------------------------------------- 705 //---------------------------------------------------------------------------
705 // Constants used by interface to runtime functions. 706 // Constants used by interface to runtime functions.
706 707
707 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 708 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
708 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 709 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
709 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 710 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
710 711
711 } } // namespace v8::internal 712 } } // namespace v8::internal
712 713
713 #endif // V8_RUNTIME_H_ 714 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698