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

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

Issue 6392027: Change OSR stack check patching to use the stack check table. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address comments. 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 | « src/ia32/deoptimizer-ia32.cc ('k') | no next file » | 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 function->ReplaceCode(function->shared()->code()); 100 function->ReplaceCode(function->shared()->code());
101 101
102 if (FLAG_trace_deopt) { 102 if (FLAG_trace_deopt) {
103 PrintF("[forced deoptimization: "); 103 PrintF("[forced deoptimization: ");
104 function->PrintName(); 104 function->PrintName();
105 PrintF(" / %" V8PRIxPTR "]\n", reinterpret_cast<intptr_t>(function)); 105 PrintF(" / %" V8PRIxPTR "]\n", reinterpret_cast<intptr_t>(function));
106 } 106 }
107 } 107 }
108 108
109 109
110 void Deoptimizer::PatchStackCheckCode(Code* unoptimized_code, 110 void Deoptimizer::PatchStackCheckAt(Address pc_after,
111 Code* check_code, 111 Code* check_code,
112 Code* replacement_code) { 112 Code* replacement_code) {
113 UNIMPLEMENTED(); 113 UNIMPLEMENTED();
114 } 114 }
115 115
116 116
117 void Deoptimizer::RevertStackCheckCode(Code* unoptimized_code, 117 void Deoptimizer::RevertStackCheckCode(Code* unoptimized_code,
118 Code* check_code, 118 Code* check_code,
119 Code* replacement_code) { 119 Code* replacement_code) {
120 UNIMPLEMENTED(); 120 UNIMPLEMENTED();
121 } 121 }
122 122
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 } 500 }
501 __ bind(&done); 501 __ bind(&done);
502 } 502 }
503 503
504 #undef __ 504 #undef __
505 505
506 506
507 } } // namespace v8::internal 507 } } // namespace v8::internal
508 508
509 #endif // V8_TARGET_ARCH_X64 509 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/ia32/deoptimizer-ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698