OLD | NEW |
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 846 matching lines...) Loading... |
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 | 862 // AllocationSiteInfo support. Arrays may have an associated |
863 // AllocationSiteInfo object that can be checked for in order to pretransition | 863 // AllocationSiteInfo object that can be checked for in order to pretransition |
864 // to another type. | 864 // to another type. |
865 // On entry, receiver_reg should point to the array object. | 865 // On entry, receiver_reg should point to the array object. |
866 // scratch_reg gets clobbered. | 866 // scratch_reg gets clobbered. |
867 // If allocation info is present, jump to allocation_info_present | 867 // If allocation info is present, conditional code is set to equal |
868 void TestJSArrayForAllocationSiteInfo(Register receiver_reg, | 868 void TestJSArrayForAllocationSiteInfo(Register receiver_reg, |
869 Register scratch_reg, | 869 Register scratch_reg); |
870 Label* allocation_info_present); | |
871 | 870 |
872 private: | 871 private: |
873 bool generating_stub_; | 872 bool generating_stub_; |
874 bool allow_stub_calls_; | 873 bool allow_stub_calls_; |
875 bool has_frame_; | 874 bool has_frame_; |
876 // This handle will be patched with the code object on installation. | 875 // This handle will be patched with the code object on installation. |
877 Handle<Object> code_object_; | 876 Handle<Object> code_object_; |
878 | 877 |
879 // Helper functions for generating invokes. | 878 // Helper functions for generating invokes. |
880 void InvokePrologue(const ParameterCount& expected, | 879 void InvokePrologue(const ParameterCount& expected, |
(...skipping 124 matching lines...) Loading... |
1005 } \ | 1004 } \ |
1006 masm-> | 1005 masm-> |
1007 #else | 1006 #else |
1008 #define ACCESS_MASM(masm) masm-> | 1007 #define ACCESS_MASM(masm) masm-> |
1009 #endif | 1008 #endif |
1010 | 1009 |
1011 | 1010 |
1012 } } // namespace v8::internal | 1011 } } // namespace v8::internal |
1013 | 1012 |
1014 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1013 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |