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

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

Issue 6250027: Port lithium template classes to ARM.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 11 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/x64/lithium-x64.h ('k') | no next file » | 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 830 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 LInstruction* instr = current->CompileToLithium(this); 841 LInstruction* instr = current->CompileToLithium(this);
842 842
843 if (instr != NULL) { 843 if (instr != NULL) {
844 if (FLAG_stress_pointer_maps && !instr->HasPointerMap()) { 844 if (FLAG_stress_pointer_maps && !instr->HasPointerMap()) {
845 instr = AssignPointerMap(instr); 845 instr = AssignPointerMap(instr);
846 } 846 }
847 if (FLAG_stress_environments && !instr->HasEnvironment()) { 847 if (FLAG_stress_environments && !instr->HasEnvironment()) {
848 instr = AssignEnvironment(instr); 848 instr = AssignEnvironment(instr);
849 } 849 }
850 if (current->IsTest() && !instr->IsGoto()) { 850 if (current->IsTest() && !instr->IsGoto()) {
851 // TODO(fschneider): Handle test instructions uniformly like
852 // other instructions. This requires us to generate the right
853 // branch instruction already at the HIR level.
854 ASSERT(instr->IsControl()); 851 ASSERT(instr->IsControl());
855 HTest* test = HTest::cast(current); 852 HTest* test = HTest::cast(current);
856 instr->set_hydrogen_value(test->value()); 853 instr->set_hydrogen_value(test->value());
857 HBasicBlock* first = test->FirstSuccessor(); 854 HBasicBlock* first = test->FirstSuccessor();
858 HBasicBlock* second = test->SecondSuccessor(); 855 HBasicBlock* second = test->SecondSuccessor();
859 ASSERT(first != NULL && second != NULL); 856 ASSERT(first != NULL && second != NULL);
860 instr->SetBranchTargets(first->block_id(), second->block_id()); 857 instr->SetBranchTargets(first->block_id(), second->block_id());
861 } else { 858 } else {
862 instr->set_hydrogen_value(current); 859 instr->set_hydrogen_value(current);
863 } 860 }
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
1597 1594
1598 1595
1599 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { 1596 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) {
1600 Abort("Unimplemented: %s", "DoLeaveInlined"); 1597 Abort("Unimplemented: %s", "DoLeaveInlined");
1601 return NULL; 1598 return NULL;
1602 } 1599 }
1603 1600
1604 } } // namespace v8::internal 1601 } } // namespace v8::internal
1605 1602
1606 #endif // V8_TARGET_ARCH_X64 1603 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/lithium-x64.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698