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 811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
822 Label* on_not_flat_ascii_strings); | 822 Label* on_not_flat_ascii_strings); |
823 | 823 |
824 static int SafepointRegisterStackIndex(Register reg) { | 824 static int SafepointRegisterStackIndex(Register reg) { |
825 return SafepointRegisterStackIndex(reg.code()); | 825 return SafepointRegisterStackIndex(reg.code()); |
826 } | 826 } |
827 | 827 |
828 // Activation support. | 828 // Activation support. |
829 void EnterFrame(StackFrame::Type type); | 829 void EnterFrame(StackFrame::Type type); |
830 void LeaveFrame(StackFrame::Type type); | 830 void LeaveFrame(StackFrame::Type type); |
831 | 831 |
| 832 void CheckEnumCache(Label* call_runtime); |
| 833 |
832 private: | 834 private: |
833 bool generating_stub_; | 835 bool generating_stub_; |
834 bool allow_stub_calls_; | 836 bool allow_stub_calls_; |
835 bool has_frame_; | 837 bool has_frame_; |
836 // This handle will be patched with the code object on installation. | 838 // This handle will be patched with the code object on installation. |
837 Handle<Object> code_object_; | 839 Handle<Object> code_object_; |
838 | 840 |
839 // Helper functions for generating invokes. | 841 // Helper functions for generating invokes. |
840 void InvokePrologue(const ParameterCount& expected, | 842 void InvokePrologue(const ParameterCount& expected, |
841 const ParameterCount& actual, | 843 const ParameterCount& actual, |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
965 } \ | 967 } \ |
966 masm-> | 968 masm-> |
967 #else | 969 #else |
968 #define ACCESS_MASM(masm) masm-> | 970 #define ACCESS_MASM(masm) masm-> |
969 #endif | 971 #endif |
970 | 972 |
971 | 973 |
972 } } // namespace v8::internal | 974 } } // namespace v8::internal |
973 | 975 |
974 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 976 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |