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

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

Issue 7374002: Refactor allocation policies. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 5 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-codegen-arm.h ('k') | src/arm/lithium-gap-resolver-arm.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 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 745 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 } 756 }
757 757
758 758
759 void LCodeGen::RecordSafepoint(LPointerMap* pointers, 759 void LCodeGen::RecordSafepoint(LPointerMap* pointers,
760 int deoptimization_index) { 760 int deoptimization_index) {
761 RecordSafepoint(pointers, Safepoint::kSimple, 0, deoptimization_index); 761 RecordSafepoint(pointers, Safepoint::kSimple, 0, deoptimization_index);
762 } 762 }
763 763
764 764
765 void LCodeGen::RecordSafepoint(int deoptimization_index) { 765 void LCodeGen::RecordSafepoint(int deoptimization_index) {
766 LPointerMap empty_pointers(RelocInfo::kNoPosition); 766 LPointerMap empty_pointers(zone(), RelocInfo::kNoPosition);
767 RecordSafepoint(&empty_pointers, deoptimization_index); 767 RecordSafepoint(&empty_pointers, deoptimization_index);
768 } 768 }
769 769
770 770
771 void LCodeGen::RecordSafepointWithRegisters(LPointerMap* pointers, 771 void LCodeGen::RecordSafepointWithRegisters(LPointerMap* pointers,
772 int arguments, 772 int arguments,
773 int deoptimization_index) { 773 int deoptimization_index) {
774 RecordSafepoint(pointers, Safepoint::kWithRegisters, arguments, 774 RecordSafepoint(pointers, Safepoint::kWithRegisters, arguments,
775 deoptimization_index); 775 deoptimization_index);
776 } 776 }
(...skipping 3623 matching lines...) Expand 10 before | Expand all | Expand 10 after
4400 ASSERT(osr_pc_offset_ == -1); 4400 ASSERT(osr_pc_offset_ == -1);
4401 osr_pc_offset_ = masm()->pc_offset(); 4401 osr_pc_offset_ = masm()->pc_offset();
4402 } 4402 }
4403 4403
4404 4404
4405 4405
4406 4406
4407 #undef __ 4407 #undef __
4408 4408
4409 } } // namespace v8::internal 4409 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.h ('k') | src/arm/lithium-gap-resolver-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698