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

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

Issue 805005: Revert changes 4088 and 4087 to fix build. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 9 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
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 ASSERT(kSmiTag == 0); 172 ASSERT(kSmiTag == 0);
173 shl(reg, kSmiTagSize); 173 shl(reg, kSmiTagSize);
174 } 174 }
175 void SmiUntag(Register reg) { 175 void SmiUntag(Register reg) {
176 sar(reg, kSmiTagSize); 176 sar(reg, kSmiTagSize);
177 } 177 }
178 178
179 // Abort execution if argument is not a number. Used in debug code. 179 // Abort execution if argument is not a number. Used in debug code.
180 void AbortIfNotNumber(Register object, const char* msg); 180 void AbortIfNotNumber(Register object, const char* msg);
181 181
182 // Abort execution if argument is not a smi. Used in debug code.
183 void AbortIfNotSmi(Register object, const char* msg);
184
185 // --------------------------------------------------------------------------- 182 // ---------------------------------------------------------------------------
186 // Exception handling 183 // Exception handling
187 184
188 // Push a new try handler and link into try handler chain. The return 185 // Push a new try handler and link into try handler chain. The return
189 // address must be pushed before calling this helper. 186 // address must be pushed before calling this helper.
190 void PushTryHandler(CodeLocation try_location, HandlerType type); 187 void PushTryHandler(CodeLocation try_location, HandlerType type);
191 188
192 // Unlink the stack handler on top of the stack from the try handler chain. 189 // Unlink the stack handler on top of the stack from the try handler chain.
193 void PopTryHandler(); 190 void PopTryHandler();
194 191
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 } \ 564 } \
568 masm-> 565 masm->
569 #else 566 #else
570 #define ACCESS_MASM(masm) masm-> 567 #define ACCESS_MASM(masm) masm->
571 #endif 568 #endif
572 569
573 570
574 } } // namespace v8::internal 571 } } // namespace v8::internal
575 572
576 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 573 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698