OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |