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

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

Issue 153953005: A64: Synchronize with r16993. (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/full-codegen-a64.cc ('k') | src/a64/stub-cache-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 811 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 } 822 }
823 823
824 if (hydrogen_env->frame_type() == JS_FUNCTION) { 824 if (hydrogen_env->frame_type() == JS_FUNCTION) {
825 *argument_index_accumulator = argument_index; 825 *argument_index_accumulator = argument_index;
826 } 826 }
827 827
828 return result; 828 return result;
829 } 829 }
830 830
831 831
832 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) {
833 // The control instruction marking the end of a block that completed
834 // abruptly (e.g., threw an exception). There is nothing specific to do.
835 return NULL;
836 }
837
838
832 LInstruction* LChunkBuilder::DoArithmeticD(Token::Value op, 839 LInstruction* LChunkBuilder::DoArithmeticD(Token::Value op,
833 HArithmeticBinaryOperation* instr) { 840 HArithmeticBinaryOperation* instr) {
834 ASSERT(instr->representation().IsDouble()); 841 ASSERT(instr->representation().IsDouble());
835 ASSERT(instr->left()->representation().IsDouble()); 842 ASSERT(instr->left()->representation().IsDouble());
836 ASSERT(instr->right()->representation().IsDouble()); 843 ASSERT(instr->right()->representation().IsDouble());
837 844
838 if (op == Token::MOD) { 845 if (op == Token::MOD) {
839 LOperand* left = UseFixedDouble(instr->left(), d0); 846 LOperand* left = UseFixedDouble(instr->left(), d0);
840 LOperand* right = UseFixedDouble(instr->right(), d1); 847 LOperand* right = UseFixedDouble(instr->right(), d1);
841 LArithmeticD* result = new(zone()) LArithmeticD(Token::MOD, left, right); 848 LArithmeticD* result = new(zone()) LArithmeticD(Token::MOD, left, right);
(...skipping 1695 matching lines...) Expand 10 before | Expand all | Expand 10 after
2537 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { 2544 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) {
2538 LOperand* receiver = UseRegister(instr->receiver()); 2545 LOperand* receiver = UseRegister(instr->receiver());
2539 LOperand* function = UseRegisterAtStart(instr->function()); 2546 LOperand* function = UseRegisterAtStart(instr->function());
2540 LOperand* temp = TempRegister(); 2547 LOperand* temp = TempRegister();
2541 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function, temp); 2548 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function, temp);
2542 return AssignEnvironment(DefineAsRegister(result)); 2549 return AssignEnvironment(DefineAsRegister(result));
2543 } 2550 }
2544 2551
2545 2552
2546 } } // namespace v8::internal 2553 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/a64/full-codegen-a64.cc ('k') | src/a64/stub-cache-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698