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

Side by Side Diff: src/a64/builtins-a64.cc

Issue 139973004: A64: Synchronize with r15814. (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 | « include/v8-debug.h ('k') | src/a64/code-stubs-a64.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 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 189
190 Register argument = x2; 190 Register argument = x2;
191 Label not_cached, argument_is_string; 191 Label not_cached, argument_is_string;
192 NumberToStringStub::GenerateLookupNumberStringCache( 192 NumberToStringStub::GenerateLookupNumberStringCache(
193 masm, 193 masm,
194 argc, // Input. 194 argc, // Input.
195 argument, // Result. 195 argument, // Result.
196 x10, // Scratch. 196 x10, // Scratch.
197 x11, // Scratch. 197 x11, // Scratch.
198 x12, // Scratch. 198 x12, // Scratch.
199 NumberToStringStub::OBJECT_IS_NOT_SMI, // Is it a Smi?
200 &not_cached); 199 &not_cached);
201 __ IncrementCounter(counters->string_ctor_cached_number(), 1, x10, x11); 200 __ IncrementCounter(counters->string_ctor_cached_number(), 1, x10, x11);
202 __ Bind(&argument_is_string); 201 __ Bind(&argument_is_string);
203 202
204 // ----------- S t a t e ------------- 203 // ----------- S t a t e -------------
205 // -- x2 : argument converted to string 204 // -- x2 : argument converted to string
206 // -- x1 : constructor function 205 // -- x1 : constructor function
207 // -- lr : return address 206 // -- lr : return address
208 // ----------------------------------- 207 // -----------------------------------
209 208
(...skipping 1249 matching lines...) Expand 10 before | Expand all | Expand 10 after
1459 __ Bind(&dont_adapt_arguments); 1458 __ Bind(&dont_adapt_arguments);
1460 __ Jump(x3); 1459 __ Jump(x3);
1461 } 1460 }
1462 1461
1463 1462
1464 #undef __ 1463 #undef __
1465 1464
1466 } } // namespace v8::internal 1465 } } // namespace v8::internal
1467 1466
1468 #endif // V8_TARGET_ARCH_ARM 1467 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « include/v8-debug.h ('k') | src/a64/code-stubs-a64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698