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

Side by Side Diff: src/stub-cache.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: deactivate by default 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 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 int index, 711 int index,
712 Map* transition, 712 Map* transition,
713 String* name); 713 String* name);
714 714
715 MUST_USE_RESULT MaybeObject* CompileStoreElement(Map* receiver_map); 715 MUST_USE_RESULT MaybeObject* CompileStoreElement(Map* receiver_map);
716 716
717 MUST_USE_RESULT MaybeObject* CompileStoreMegamorphic( 717 MUST_USE_RESULT MaybeObject* CompileStoreMegamorphic(
718 MapList* receiver_maps, 718 MapList* receiver_maps,
719 CodeList* handler_ics); 719 CodeList* handler_ics);
720 720
721 enum StoreObjectAction {
722 kObjectStoreCausesWriteBarrier,
723 kObjectStoreForcesGeneric
724 };
725
721 static void GenerateStoreFastElement(MacroAssembler* masm, 726 static void GenerateStoreFastElement(MacroAssembler* masm,
722 bool is_js_array); 727 bool is_js_array,
728 StoreObjectAction store_objet_action);
Sven Panne 2011/09/16 09:19:32 Missing 'c', unless we want to switch to french na
danno 2011/09/21 14:32:04 Done.
723 729
724 static void GenerateStoreFastDoubleElement(MacroAssembler* masm, 730 static void GenerateStoreFastDoubleElement(MacroAssembler* masm,
725 bool is_js_array); 731 bool is_js_array);
726 732
727 static void GenerateStoreExternalArray(MacroAssembler* masm, 733 static void GenerateStoreExternalArray(MacroAssembler* masm,
728 ElementsKind elements_kind); 734 ElementsKind elements_kind);
729 735
730 static void GenerateStoreDictionaryElement(MacroAssembler* masm); 736 static void GenerateStoreDictionaryElement(MacroAssembler* masm);
731 737
732 private: 738 private:
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
903 JSFunction* constant_function_; 909 JSFunction* constant_function_;
904 bool is_simple_api_call_; 910 bool is_simple_api_call_;
905 FunctionTemplateInfo* expected_receiver_type_; 911 FunctionTemplateInfo* expected_receiver_type_;
906 CallHandlerInfo* api_call_info_; 912 CallHandlerInfo* api_call_info_;
907 }; 913 };
908 914
909 915
910 } } // namespace v8::internal 916 } } // namespace v8::internal
911 917
912 #endif // V8_STUB_CACHE_H_ 918 #endif // V8_STUB_CACHE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698