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

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

Issue 10701054: Enable stub generation using Hydrogen/Lithium (again) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: First pass at pre-VFP2 RA Created 8 years, 1 month 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 904 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 Register mask_reg); 915 Register mask_reg);
916 916
917 // Helper for throwing exceptions. Compute a handler address and jump to 917 // Helper for throwing exceptions. Compute a handler address and jump to
918 // it. See the implementation for register usage. 918 // it. See the implementation for register usage.
919 void JumpToHandlerEntry(); 919 void JumpToHandlerEntry();
920 920
921 // Compute memory operands for safepoint stack slots. 921 // Compute memory operands for safepoint stack slots.
922 Operand SafepointRegisterSlot(Register reg); 922 Operand SafepointRegisterSlot(Register reg);
923 static int SafepointRegisterStackIndex(int reg_code); 923 static int SafepointRegisterStackIndex(int reg_code);
924 924
925 // Needs access to SafepointRegisterStackIndex for optimized frame 925 // Needs access to SafepointRegisterStackIndex for compiled frame
926 // traversal. 926 // traversal.
927 friend class OptimizedFrame; 927 friend class CompiledFrame;
928 }; 928 };
929 929
930 930
931 // The code patcher is used to patch (typically) small parts of code e.g. for 931 // The code patcher is used to patch (typically) small parts of code e.g. for
932 // debugging and other types of instrumentation. When using the code patcher 932 // debugging and other types of instrumentation. When using the code patcher
933 // the exact number of bytes specified must be emitted. Is not legal to emit 933 // the exact number of bytes specified must be emitted. Is not legal to emit
934 // relocation information. If any of these constraints are violated it causes 934 // relocation information. If any of these constraints are violated it causes
935 // an assertion. 935 // an assertion.
936 class CodePatcher { 936 class CodePatcher {
937 public: 937 public:
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
998 } \ 998 } \
999 masm-> 999 masm->
1000 #else 1000 #else
1001 #define ACCESS_MASM(masm) masm-> 1001 #define ACCESS_MASM(masm) masm->
1002 #endif 1002 #endif
1003 1003
1004 1004
1005 } } // namespace v8::internal 1005 } } // namespace v8::internal
1006 1006
1007 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1007 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698