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

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

Issue 6349046: Extract platform independent part of RevertStackCheckCode. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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 | « no previous file | src/deoptimizer.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 function->ReplaceCode(function->shared()->code()); 105 function->ReplaceCode(function->shared()->code());
106 106
107 if (FLAG_trace_deopt) { 107 if (FLAG_trace_deopt) {
108 PrintF("[forced deoptimization: "); 108 PrintF("[forced deoptimization: ");
109 function->PrintName(); 109 function->PrintName();
110 PrintF(" / %x]\n", reinterpret_cast<uint32_t>(function)); 110 PrintF(" / %x]\n", reinterpret_cast<uint32_t>(function));
111 } 111 }
112 } 112 }
113 113
114 114
115 void Deoptimizer::PatchStackCheckAt(Address pc_after, 115 void Deoptimizer::PatchStackCheckCodeAt(Address pc_after,
116 Code* check_code, 116 Code* check_code,
117 Code* replacement_code) { 117 Code* replacement_code) {
118 UNIMPLEMENTED(); 118 UNIMPLEMENTED();
119 } 119 }
120 120
121 121
122 void Deoptimizer::RevertStackCheckCode(Code* unoptimized_code, 122 void Deoptimizer::RevertStackCheckCodeAt(Address pc_after,
123 Code* check_code, 123 Code* check_code,
124 Code* replacement_code) { 124 Code* replacement_code) {
125 UNIMPLEMENTED(); 125 UNIMPLEMENTED();
126 } 126 }
127 127
128 128
129 void Deoptimizer::DoComputeOsrOutputFrame() { 129 void Deoptimizer::DoComputeOsrOutputFrame() {
130 UNIMPLEMENTED(); 130 UNIMPLEMENTED();
131 } 131 }
132 132
133 133
134 // This code is very similar to ia32 code, but relies on register names (fp, sp) 134 // This code is very similar to ia32 code, but relies on register names (fp, sp)
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 __ push(ip); 498 __ push(ip);
499 __ b(&done); 499 __ b(&done);
500 ASSERT(masm()->pc_offset() - start == table_entry_size_); 500 ASSERT(masm()->pc_offset() - start == table_entry_size_);
501 } 501 }
502 __ bind(&done); 502 __ bind(&done);
503 } 503 }
504 504
505 #undef __ 505 #undef __
506 506
507 } } // namespace v8::internal 507 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/deoptimizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698