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

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

Issue 24436004: MIPS: Turn the NumberToStringStub into a hydrogen stub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 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 | « no previous file | 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 return IntRegisterBits::encode(the_int_.code()) 261 return IntRegisterBits::encode(the_int_.code())
262 | HeapNumberRegisterBits::encode(the_heap_number_.code()) 262 | HeapNumberRegisterBits::encode(the_heap_number_.code())
263 | ScratchRegisterBits::encode(scratch_.code()) 263 | ScratchRegisterBits::encode(scratch_.code())
264 | SignRegisterBits::encode(sign_.code()); 264 | SignRegisterBits::encode(sign_.code());
265 } 265 }
266 266
267 void Generate(MacroAssembler* masm); 267 void Generate(MacroAssembler* masm);
268 }; 268 };
269 269
270 270
271 class NumberToStringStub: public PlatformCodeStub {
272 public:
273 NumberToStringStub() { }
274
275 private:
276 Major MajorKey() { return NumberToString; }
277 int MinorKey() { return 0; }
278
279 void Generate(MacroAssembler* masm);
280 };
281
282
283 class RecordWriteStub: public PlatformCodeStub { 271 class RecordWriteStub: public PlatformCodeStub {
284 public: 272 public:
285 RecordWriteStub(Register object, 273 RecordWriteStub(Register object,
286 Register value, 274 Register value,
287 Register address, 275 Register address,
288 RememberedSetAction remembered_set_action, 276 RememberedSetAction remembered_set_action,
289 SaveFPRegsMode fp_mode) 277 SaveFPRegsMode fp_mode)
290 : object_(object), 278 : object_(object),
291 value_(value), 279 value_(value),
292 address_(address), 280 address_(address),
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 536
549 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; 537 class LookupModeBits: public BitField<LookupMode, 0, 1> {};
550 538
551 LookupMode mode_; 539 LookupMode mode_;
552 }; 540 };
553 541
554 542
555 } } // namespace v8::internal 543 } } // namespace v8::internal
556 544
557 #endif // V8_MIPS_CODE_STUBS_ARM_H_ 545 #endif // V8_MIPS_CODE_STUBS_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698