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

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

Issue 19541007: Cleanup useless parameter object_is_smi for NumberToStringStub::GenerateLookupNumberStringCache(). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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/builtins-mips.cc ('k') | src/mips/code-stubs-mips.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 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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 // the register object is found in the cache the generated code falls through 291 // the register object is found in the cache the generated code falls through
292 // with the result in the result register. The object and the result register 292 // with the result in the result register. The object and the result register
293 // can be the same. If the number is not found in the cache the code jumps to 293 // can be the same. If the number is not found in the cache the code jumps to
294 // the label not_found with only the content of register object unchanged. 294 // the label not_found with only the content of register object unchanged.
295 static void GenerateLookupNumberStringCache(MacroAssembler* masm, 295 static void GenerateLookupNumberStringCache(MacroAssembler* masm,
296 Register object, 296 Register object,
297 Register result, 297 Register result,
298 Register scratch1, 298 Register scratch1,
299 Register scratch2, 299 Register scratch2,
300 Register scratch3, 300 Register scratch3,
301 bool object_is_smi,
302 Label* not_found); 301 Label* not_found);
303 302
304 private: 303 private:
305 Major MajorKey() { return NumberToString; } 304 Major MajorKey() { return NumberToString; }
306 int MinorKey() { return 0; } 305 int MinorKey() { return 0; }
307 306
308 void Generate(MacroAssembler* masm); 307 void Generate(MacroAssembler* masm);
309 }; 308 };
310 309
311 310
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 702
704 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; 703 class LookupModeBits: public BitField<LookupMode, 0, 1> {};
705 704
706 LookupMode mode_; 705 LookupMode mode_;
707 }; 706 };
708 707
709 708
710 } } // namespace v8::internal 709 } } // namespace v8::internal
711 710
712 #endif // V8_MIPS_CODE_STUBS_ARM_H_ 711 #endif // V8_MIPS_CODE_STUBS_ARM_H_
OLDNEW
« no previous file with comments | « src/mips/builtins-mips.cc ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698