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

Side by Side Diff: src/mips/code-stubs-mips.cc

Issue 7332001: Removed useless implementations of GetName and Print for code stubs, the common (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 5 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/mips/code-stubs-mips.h ('k') | src/x64/code-stubs-x64.h » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 Major MajorKey() { return ConvertToDouble; } 298 Major MajorKey() { return ConvertToDouble; }
299 int MinorKey() { 299 int MinorKey() {
300 // Encode the parameters in a unique 16 bit value. 300 // Encode the parameters in a unique 16 bit value.
301 return result1_.code() + 301 return result1_.code() +
302 (result2_.code() << 4) + 302 (result2_.code() << 4) +
303 (source_.code() << 8) + 303 (source_.code() << 8) +
304 (zeros_.code() << 12); 304 (zeros_.code() << 12);
305 } 305 }
306 306
307 void Generate(MacroAssembler* masm); 307 void Generate(MacroAssembler* masm);
308
309 const char* GetName() { return "ConvertToDoubleStub"; }
310
311 #ifdef DEBUG
312 void Print() { PrintF("ConvertToDoubleStub\n"); }
313 #endif
314 }; 308 };
315 309
316 310
317 void ConvertToDoubleStub::Generate(MacroAssembler* masm) { 311 void ConvertToDoubleStub::Generate(MacroAssembler* masm) {
318 #ifndef BIG_ENDIAN_FLOATING_POINT 312 #ifndef BIG_ENDIAN_FLOATING_POINT
319 Register exponent = result1_; 313 Register exponent = result1_;
320 Register mantissa = result2_; 314 Register mantissa = result2_;
321 #else 315 #else
322 Register exponent = result2_; 316 Register exponent = result2_;
323 Register mantissa = result1_; 317 Register mantissa = result1_;
(...skipping 6555 matching lines...) Expand 10 before | Expand all | Expand 10 after
6879 __ mov(result, zero_reg); 6873 __ mov(result, zero_reg);
6880 __ Ret(); 6874 __ Ret();
6881 } 6875 }
6882 6876
6883 6877
6884 #undef __ 6878 #undef __
6885 6879
6886 } } // namespace v8::internal 6880 } } // namespace v8::internal
6887 6881
6888 #endif // V8_TARGET_ARCH_MIPS 6882 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.h ('k') | src/x64/code-stubs-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698