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

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

Issue 21042003: Patch to enhance the source code line information for profiler. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 4 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/arm/lithium-arm.h ('k') | src/arm/lithium-codegen-arm.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 865 matching lines...) Expand 10 before | Expand all | Expand 10 after
876 if (LUnallocated::cast(instr->Output())->HasFixedPolicy()) ++fixed; 876 if (LUnallocated::cast(instr->Output())->HasFixedPolicy()) ++fixed;
877 } 877 }
878 for (TempIterator it(instr); !it.Done(); it.Advance()) { 878 for (TempIterator it(instr); !it.Done(); it.Advance()) {
879 LUnallocated* operand = LUnallocated::cast(it.Current()); 879 LUnallocated* operand = LUnallocated::cast(it.Current());
880 if (operand->HasFixedPolicy()) ++fixed; 880 if (operand->HasFixedPolicy()) ++fixed;
881 } 881 }
882 ASSERT(fixed == 0 || used_at_start == 0); 882 ASSERT(fixed == 0 || used_at_start == 0);
883 } 883 }
884 #endif 884 #endif
885 885
886 instr->set_position(position_);
886 if (FLAG_stress_pointer_maps && !instr->HasPointerMap()) { 887 if (FLAG_stress_pointer_maps && !instr->HasPointerMap()) {
887 instr = AssignPointerMap(instr); 888 instr = AssignPointerMap(instr);
888 } 889 }
889 if (FLAG_stress_environments && !instr->HasEnvironment()) { 890 if (FLAG_stress_environments && !instr->HasEnvironment()) {
890 instr = AssignEnvironment(instr); 891 instr = AssignEnvironment(instr);
891 } 892 }
892 instr->set_hydrogen_value(current); 893 instr->set_hydrogen_value(current);
893 chunk_->AddInstruction(instr, current_block_); 894 chunk_->AddInstruction(instr, current_block_);
894 } 895 }
895 current_instruction_ = old_current; 896 current_instruction_ = old_current;
(...skipping 1694 matching lines...) Expand 10 before | Expand all | Expand 10 after
2590 2591
2591 2592
2592 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2593 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2593 LOperand* object = UseRegister(instr->object()); 2594 LOperand* object = UseRegister(instr->object());
2594 LOperand* index = UseRegister(instr->index()); 2595 LOperand* index = UseRegister(instr->index());
2595 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2596 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2596 } 2597 }
2597 2598
2598 2599
2599 } } // namespace v8::internal 2600 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.h ('k') | src/arm/lithium-codegen-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698