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

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

Issue 23440064: Revert "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 | « src/ia32/lithium-codegen-ia32.cc ('k') | src/x64/code-stubs-x64.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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 MacroAssembler* masm, 201 MacroAssembler* masm,
202 Register left, 202 Register left,
203 Register right, 203 Register right,
204 Register length, 204 Register length,
205 Register scratch, 205 Register scratch,
206 Label* chars_not_equal, 206 Label* chars_not_equal,
207 Label::Distance near_jump = Label::kFar); 207 Label::Distance near_jump = Label::kFar);
208 }; 208 };
209 209
210 210
211 class NumberToStringStub: public PlatformCodeStub {
212 public:
213 NumberToStringStub() { }
214
215 private:
216 Major MajorKey() { return NumberToString; }
217 int MinorKey() { return 0; }
218
219 void Generate(MacroAssembler* masm);
220 };
221
222
211 class NameDictionaryLookupStub: public PlatformCodeStub { 223 class NameDictionaryLookupStub: public PlatformCodeStub {
212 public: 224 public:
213 enum LookupMode { POSITIVE_LOOKUP, NEGATIVE_LOOKUP }; 225 enum LookupMode { POSITIVE_LOOKUP, NEGATIVE_LOOKUP };
214 226
215 NameDictionaryLookupStub(Register dictionary, 227 NameDictionaryLookupStub(Register dictionary,
216 Register result, 228 Register result,
217 Register index, 229 Register index,
218 LookupMode mode) 230 LookupMode mode)
219 : dictionary_(dictionary), result_(result), index_(index), mode_(mode) { } 231 : dictionary_(dictionary), result_(result), index_(index), mode_(mode) { }
220 232
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 RememberedSetAction remembered_set_action_; 518 RememberedSetAction remembered_set_action_;
507 SaveFPRegsMode save_fp_regs_mode_; 519 SaveFPRegsMode save_fp_regs_mode_;
508 Label slow_; 520 Label slow_;
509 RegisterAllocation regs_; 521 RegisterAllocation regs_;
510 }; 522 };
511 523
512 524
513 } } // namespace v8::internal 525 } } // namespace v8::internal
514 526
515 #endif // V8_X64_CODE_STUBS_X64_H_ 527 #endif // V8_X64_CODE_STUBS_X64_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698