| 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 #ifdef DEBUG | 192 #ifdef DEBUG |
| 193 node = Isolate::Current()->deoptimizer_data()->deoptimizing_code_list_; | 193 node = Isolate::Current()->deoptimizer_data()->deoptimizing_code_list_; |
| 194 while (node != NULL) { | 194 while (node != NULL) { |
| 195 ASSERT(node != reinterpret_cast<DeoptimizingCodeListNode*>(data)); | 195 ASSERT(node != reinterpret_cast<DeoptimizingCodeListNode*>(data)); |
| 196 node = node->next(); | 196 node = node->next(); |
| 197 } | 197 } |
| 198 #endif | 198 #endif |
| 199 } | 199 } |
| 200 | 200 |
| 201 | 201 |
| 202 void Deoptimizer::ComputeOutputFrames(Deoptimizer* deoptimizer, | 202 void Deoptimizer::ComputeOutputFrames(Deoptimizer* deoptimizer) { |
| 203 Isolate* isolate) { | |
| 204 deoptimizer->DoComputeOutputFrames(); | 203 deoptimizer->DoComputeOutputFrames(); |
| 205 } | 204 } |
| 206 | 205 |
| 207 | 206 |
| 208 Deoptimizer::Deoptimizer(Isolate* isolate, | 207 Deoptimizer::Deoptimizer(Isolate* isolate, |
| 209 JSFunction* function, | 208 JSFunction* function, |
| 210 BailoutType type, | 209 BailoutType type, |
| 211 unsigned bailout_id, | 210 unsigned bailout_id, |
| 212 Address from, | 211 Address from, |
| 213 int fp_to_sp_delta) | 212 int fp_to_sp_delta) |
| (...skipping 975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1189 } | 1188 } |
| 1190 | 1189 |
| 1191 | 1190 |
| 1192 DeoptimizingCodeListNode::~DeoptimizingCodeListNode() { | 1191 DeoptimizingCodeListNode::~DeoptimizingCodeListNode() { |
| 1193 GlobalHandles* global_handles = Isolate::Current()->global_handles(); | 1192 GlobalHandles* global_handles = Isolate::Current()->global_handles(); |
| 1194 global_handles->Destroy(reinterpret_cast<Object**>(code_.location())); | 1193 global_handles->Destroy(reinterpret_cast<Object**>(code_.location())); |
| 1195 } | 1194 } |
| 1196 | 1195 |
| 1197 | 1196 |
| 1198 } } // namespace v8::internal | 1197 } } // namespace v8::internal |
| OLD | NEW |