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

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

Issue 146213004: A64: Synchronize with r16849. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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/a64/builtins-a64.cc ('k') | src/a64/code-stubs-a64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 void GenerateRegisterArgsPop(MacroAssembler* masm); 151 void GenerateRegisterArgsPop(MacroAssembler* masm);
152 152
153 const StringAddFlags flags_; 153 const StringAddFlags flags_;
154 }; 154 };
155 155
156 156
157 class NumberToStringStub: public PlatformCodeStub { 157 class NumberToStringStub: public PlatformCodeStub {
158 public: 158 public:
159 NumberToStringStub() { } 159 NumberToStringStub() { }
160 160
161 // Generate code to do a lookup in the number string cache. If the number in
162 // the register object is found in the cache the generated code falls through
163 // with the result in the result register. The object and the result register
164 // can be the same. If the number is not found in the cache the code jumps to
165 // the label not_found with only the content of register object unchanged.
166 static void GenerateLookupNumberStringCache(MacroAssembler* masm,
167 Register object,
168 Register result,
169 Register scratch1,
170 Register scratch2,
171 Register scratch3,
172 Label* not_found);
173
174 private: 161 private:
175 Major MajorKey() { return NumberToString; } 162 Major MajorKey() { return NumberToString; }
176 int MinorKey() { return 0; } 163 int MinorKey() { return 0; }
177 164
178 void Generate(MacroAssembler* masm); 165 void Generate(MacroAssembler* masm);
179 }; 166 };
180 167
181 168
182 class RecordWriteStub: public PlatformCodeStub { 169 class RecordWriteStub: public PlatformCodeStub {
183 public: 170 public:
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 Register length, 539 Register length,
553 Register scratch1, 540 Register scratch1,
554 Register scratch2, 541 Register scratch2,
555 Label* chars_not_equal); 542 Label* chars_not_equal);
556 }; 543 };
557 544
558 545
559 } } // namespace v8::internal 546 } } // namespace v8::internal
560 547
561 #endif // V8_A64_CODE_STUBS_A64_H_ 548 #endif // V8_A64_CODE_STUBS_A64_H_
OLDNEW
« no previous file with comments | « src/a64/builtins-a64.cc ('k') | src/a64/code-stubs-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698