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

Side by Side Diff: src/runtime.h

Issue 11365174: A change in the way we place TransitionElementKinds in the tree. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Now includes optimization of codegen for transition elementskind instruction Created 8 years 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 697 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 Handle<Object> key); 708 Handle<Object> key);
709 709
710 // Helper functions used stubs. 710 // Helper functions used stubs.
711 static void PerformGC(Object* result); 711 static void PerformGC(Object* result);
712 712
713 // Used in runtime.cc and hydrogen's VisitArrayLiteral. 713 // Used in runtime.cc and hydrogen's VisitArrayLiteral.
714 static Handle<Object> CreateArrayLiteralBoilerplate( 714 static Handle<Object> CreateArrayLiteralBoilerplate(
715 Isolate* isolate, 715 Isolate* isolate,
716 Handle<FixedArray> literals, 716 Handle<FixedArray> literals,
717 Handle<FixedArray> elements); 717 Handle<FixedArray> elements);
718
719 // Used in codegen when a copy of the full codegen boilerplate object is
720 // made for pre-transitioned efficiency.
721 static Handle<JSObject> DeepCopyBoilerplate(Isolate* isolate,
722 Handle<JSObject> boilerplate);
718 }; 723 };
719 724
720 725
721 //--------------------------------------------------------------------------- 726 //---------------------------------------------------------------------------
722 // Constants used by interface to runtime functions. 727 // Constants used by interface to runtime functions.
723 728
724 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 729 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
725 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 730 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
726 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 731 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
727 732
728 } } // namespace v8::internal 733 } } // namespace v8::internal
729 734
730 #endif // V8_RUNTIME_H_ 735 #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