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

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

Issue 6343005: Move stack check patching to the architecture dependent deoptimizer (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address comments. 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 | « 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::PatchStackCheckCode(RelocInfo* rinfo, 115 void Deoptimizer::PatchStackCheckCode(Code* unoptimized_code,
116 Code* check_code,
116 Code* replacement_code) { 117 Code* replacement_code) {
117 UNIMPLEMENTED(); 118 UNIMPLEMENTED();
118 } 119 }
119 120
120 121
121 void Deoptimizer::RevertStackCheckCode(RelocInfo* rinfo, Code* check_code) { 122 void Deoptimizer::RevertStackCheckCode(Code* unoptimized_code,
123 Code* check_code,
124 Code* replacement_code) {
122 UNIMPLEMENTED(); 125 UNIMPLEMENTED();
123 } 126 }
124 127
125 128
126 void Deoptimizer::DoComputeOsrOutputFrame() { 129 void Deoptimizer::DoComputeOsrOutputFrame() {
127 UNIMPLEMENTED(); 130 UNIMPLEMENTED();
128 } 131 }
129 132
130 133
131 // 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
495 __ push(ip); 498 __ push(ip);
496 __ b(&done); 499 __ b(&done);
497 ASSERT(masm()->pc_offset() - start == table_entry_size_); 500 ASSERT(masm()->pc_offset() - start == table_entry_size_);
498 } 501 }
499 __ bind(&done); 502 __ bind(&done);
500 } 503 }
501 504
502 #undef __ 505 #undef __
503 506
504 } } // 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