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

Side by Side Diff: src/a64/full-codegen-a64.cc

Issue 142693005: A64: Synchronize with r16918. (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/code-stubs-a64.cc ('k') | src/a64/lithium-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 3320 matching lines...) Expand 10 before | Expand all | Expand 10 after
3331 x1, JSValue::kValueOffset, x10, x11, kLRHasBeenSaved, kDontSaveFPRegs); 3331 x1, JSValue::kValueOffset, x10, x11, kLRHasBeenSaved, kDontSaveFPRegs);
3332 3332
3333 __ Bind(&done); 3333 __ Bind(&done);
3334 context()->Plug(x0); 3334 context()->Plug(x0);
3335 } 3335 }
3336 3336
3337 3337
3338 void FullCodeGenerator::EmitNumberToString(CallRuntime* expr) { 3338 void FullCodeGenerator::EmitNumberToString(CallRuntime* expr) {
3339 ZoneList<Expression*>* args = expr->arguments(); 3339 ZoneList<Expression*>* args = expr->arguments();
3340 ASSERT_EQ(args->length(), 1); 3340 ASSERT_EQ(args->length(), 1);
3341 // Load the argument on the stack and call the stub. 3341
3342 VisitForStackValue(args->at(0)); 3342 // Load the argument into x0 and call the stub.
3343 VisitForAccumulatorValue(args->at(0));
3343 3344
3344 NumberToStringStub stub; 3345 NumberToStringStub stub;
3345 __ CallStub(&stub); 3346 __ CallStub(&stub);
3346 context()->Plug(x0); 3347 context()->Plug(x0);
3347 } 3348 }
3348 3349
3349 3350
3350 void FullCodeGenerator::EmitStringCharFromCode(CallRuntime* expr) { 3351 void FullCodeGenerator::EmitStringCharFromCode(CallRuntime* expr) {
3351 ZoneList<Expression*>* args = expr->arguments(); 3352 ZoneList<Expression*>* args = expr->arguments();
3352 ASSERT(args->length() == 1); 3353 ASSERT(args->length() == 1);
(...skipping 1685 matching lines...) Expand 10 before | Expand all | Expand 10 after
5038 return previous_; 5039 return previous_;
5039 } 5040 }
5040 5041
5041 5042
5042 #undef __ 5043 #undef __
5043 5044
5044 5045
5045 } } // namespace v8::internal 5046 } } // namespace v8::internal
5046 5047
5047 #endif // V8_TARGET_ARCH_A64 5048 #endif // V8_TARGET_ARCH_A64
OLDNEW
« no previous file with comments | « src/a64/code-stubs-a64.cc ('k') | src/a64/lithium-a64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698