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

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

Issue 7639020: Perform TODO(gc) cleanup for TODO-lockdown. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 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
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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 PrintF(" / %x]\n", reinterpret_cast<uint32_t>(function)); 124 PrintF(" / %x]\n", reinterpret_cast<uint32_t>(function));
125 #ifdef DEBUG 125 #ifdef DEBUG
126 if (FLAG_print_code) { 126 if (FLAG_print_code) {
127 code->PrintLn(); 127 code->PrintLn();
128 } 128 }
129 #endif 129 #endif
130 } 130 }
131 } 131 }
132 132
133 133
134 // TODO(gc) make use of unoptimized_code when supporting incremental marking.
135 void Deoptimizer::PatchStackCheckCodeAt(Code* unoptimized_code, 134 void Deoptimizer::PatchStackCheckCodeAt(Code* unoptimized_code,
136 Address pc_after, 135 Address pc_after,
137 Code* check_code, 136 Code* check_code,
138 Code* replacement_code) { 137 Code* replacement_code) {
139 const int kInstrSize = Assembler::kInstrSize; 138 const int kInstrSize = Assembler::kInstrSize;
140 // The call of the stack guard check has the following form: 139 // The call of the stack guard check has the following form:
141 // e1 5d 00 0c cmp sp, <limit> 140 // e1 5d 00 0c cmp sp, <limit>
142 // 2a 00 00 01 bcs ok 141 // 2a 00 00 01 bcs ok
143 // e5 9f c? ?? ldr ip, [pc, <stack guard address>] 142 // e5 9f c? ?? ldr ip, [pc, <stack guard address>]
144 // e1 2f ff 3c blx ip 143 // e1 2f ff 3c blx ip
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 __ push(ip); 761 __ push(ip);
763 __ b(&done); 762 __ b(&done);
764 ASSERT(masm()->pc_offset() - start == table_entry_size_); 763 ASSERT(masm()->pc_offset() - start == table_entry_size_);
765 } 764 }
766 __ bind(&done); 765 __ bind(&done);
767 } 766 }
768 767
769 #undef __ 768 #undef __
770 769
771 } } // namespace v8::internal 770 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | src/mark-compact.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698