Chromium Code Reviews| 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 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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, edx should point to the array object. edi gets clobbered. | |
| 866 // If allocation info is present, jump to allocation_info_present | |
| 867 void PerformAllocationSiteInfoCheck(Label* allocation_info_present); | |
|
danno
2013/01/04 08:50:55
See comments in macro-assembler-arm.h.
| |
| 868 | |
| 862 private: | 869 private: |
| 863 bool generating_stub_; | 870 bool generating_stub_; |
| 864 bool allow_stub_calls_; | 871 bool allow_stub_calls_; |
| 865 bool has_frame_; | 872 bool has_frame_; |
| 866 // This handle will be patched with the code object on installation. | 873 // This handle will be patched with the code object on installation. |
| 867 Handle<Object> code_object_; | 874 Handle<Object> code_object_; |
| 868 | 875 |
| 869 // Helper functions for generating invokes. | 876 // Helper functions for generating invokes. |
| 870 void InvokePrologue(const ParameterCount& expected, | 877 void InvokePrologue(const ParameterCount& expected, |
| 871 const ParameterCount& actual, | 878 const ParameterCount& actual, |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 995 } \ | 1002 } \ |
| 996 masm-> | 1003 masm-> |
| 997 #else | 1004 #else |
| 998 #define ACCESS_MASM(masm) masm-> | 1005 #define ACCESS_MASM(masm) masm-> |
| 999 #endif | 1006 #endif |
| 1000 | 1007 |
| 1001 | 1008 |
| 1002 } } // namespace v8::internal | 1009 } } // namespace v8::internal |
| 1003 | 1010 |
| 1004 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1011 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |