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

Side by Side Diff: src/ia32/macro-assembler-ia32.h

Issue 11663005: Adapt Danno's Track Allocation Info idea to fast literals. When allocating a literal array, (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: A few more review comments Created 7 years, 11 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/ia32/full-codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.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 841 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 } 852 }
853 853
854 // Activation support. 854 // Activation support.
855 void EnterFrame(StackFrame::Type type); 855 void EnterFrame(StackFrame::Type type);
856 void LeaveFrame(StackFrame::Type type); 856 void LeaveFrame(StackFrame::Type type);
857 857
858 // Expects object in eax and returns map with validated enum cache 858 // Expects object in eax and returns map with validated enum cache
859 // in eax. Assumes that any other register can be used as a scratch. 859 // in eax. Assumes that any other register can be used as a scratch.
860 void CheckEnumCache(Label* call_runtime); 860 void CheckEnumCache(Label* call_runtime);
861 861
862 // AllocationSiteInfo support. Arrays may have an associated
863 // AllocationSiteInfo object that can be checked for in order to pretransition
864 // to another type.
865 // On entry, receiver_reg should point to the array object.
866 // scratch_reg gets clobbered.
867 // If allocation info is present, jump to allocation_info_present
868 void TestJSArrayForAllocationSiteInfo(Register receiver_reg,
869 Register scratch_reg,
870 Label* allocation_info_present);
871
862 private: 872 private:
863 bool generating_stub_; 873 bool generating_stub_;
864 bool allow_stub_calls_; 874 bool allow_stub_calls_;
865 bool has_frame_; 875 bool has_frame_;
866 // This handle will be patched with the code object on installation. 876 // This handle will be patched with the code object on installation.
867 Handle<Object> code_object_; 877 Handle<Object> code_object_;
868 878
869 // Helper functions for generating invokes. 879 // Helper functions for generating invokes.
870 void InvokePrologue(const ParameterCount& expected, 880 void InvokePrologue(const ParameterCount& expected,
871 const ParameterCount& actual, 881 const ParameterCount& actual,
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
995 } \ 1005 } \
996 masm-> 1006 masm->
997 #else 1007 #else
998 #define ACCESS_MASM(masm) masm-> 1008 #define ACCESS_MASM(masm) masm->
999 #endif 1009 #endif
1000 1010
1001 1011
1002 } } // namespace v8::internal 1012 } } // namespace v8::internal
1003 1013
1004 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1014 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698