| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 1452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1463 } | 1463 } |
| 1464 } | 1464 } |
| 1465 | 1465 |
| 1466 | 1466 |
| 1467 DeoptimizedFrameInfo::~DeoptimizedFrameInfo() { | 1467 DeoptimizedFrameInfo::~DeoptimizedFrameInfo() { |
| 1468 delete[] expression_stack_; | 1468 delete[] expression_stack_; |
| 1469 delete[] parameters_; | 1469 delete[] parameters_; |
| 1470 } | 1470 } |
| 1471 | 1471 |
| 1472 void DeoptimizedFrameInfo::Iterate(ObjectVisitor* v) { | 1472 void DeoptimizedFrameInfo::Iterate(ObjectVisitor* v) { |
| 1473 v->VisitPointer(reinterpret_cast<Object**>(&function_)); | 1473 v->VisitPointer(BitCast<Object**>(&function_)); |
| 1474 v->VisitPointers(parameters_, parameters_ + parameters_count_); | 1474 v->VisitPointers(parameters_, parameters_ + parameters_count_); |
| 1475 v->VisitPointers(expression_stack_, expression_stack_ + expression_count_); | 1475 v->VisitPointers(expression_stack_, expression_stack_ + expression_count_); |
| 1476 } | 1476 } |
| 1477 | 1477 |
| 1478 | 1478 |
| 1479 } } // namespace v8::internal | 1479 } } // namespace v8::internal |
| OLD | NEW |