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

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

Issue 9425045: Support fast case for-in in Crankshaft. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: port to x64&arm, cleanup Created 8 years, 10 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 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
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 // Expects object in eax and returns map with validated enum cache
833 // in eax. Assumes that any other register can be used as a scratch.
834 void CheckEnumCache(Label* call_runtime);
835
832 private: 836 private:
833 bool generating_stub_; 837 bool generating_stub_;
834 bool allow_stub_calls_; 838 bool allow_stub_calls_;
835 bool has_frame_; 839 bool has_frame_;
836 // This handle will be patched with the code object on installation. 840 // This handle will be patched with the code object on installation.
837 Handle<Object> code_object_; 841 Handle<Object> code_object_;
838 842
839 // Helper functions for generating invokes. 843 // Helper functions for generating invokes.
840 void InvokePrologue(const ParameterCount& expected, 844 void InvokePrologue(const ParameterCount& expected,
841 const ParameterCount& actual, 845 const ParameterCount& actual,
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
965 } \ 969 } \
966 masm-> 970 masm->
967 #else 971 #else
968 #define ACCESS_MASM(masm) masm-> 972 #define ACCESS_MASM(masm) masm->
969 #endif 973 #endif
970 974
971 975
972 } } // namespace v8::internal 976 } } // namespace v8::internal
973 977
974 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 978 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698