Index: src/ia32/deoptimizer-ia32.cc |
diff --git a/src/ia32/deoptimizer-ia32.cc b/src/ia32/deoptimizer-ia32.cc |
index ceba2494a35b30c7d8f24b4a1c4d27cc38d2e8a9..d1c0f2b03176d310e945e98965d7192d8415d392 100644 |
--- a/src/ia32/deoptimizer-ia32.cc |
+++ b/src/ia32/deoptimizer-ia32.cc |
@@ -56,8 +56,9 @@ void Deoptimizer::DeoptimizeFunction(JSFunction* function) { |
SafepointTable table(function->code()); |
for (unsigned i = 0; i < table.length(); i++) { |
unsigned pc_offset = table.GetPcOffset(i); |
Søren Thygesen Gjesse
2011/01/12 10:57:34
You need to make this change in deoptimizer-arm.cc
Vitaly Repeshko
2011/01/12 14:14:35
Thanks for the reminder. I actually indented to do
|
- int deoptimization_index = table.GetDeoptimizationIndex(i); |
- int gap_code_size = table.GetGapCodeSize(i); |
+ SafepointEntry safepoint_entry = table.GetEntry(i); |
+ int deoptimization_index = safepoint_entry.deoptimization_index(); |
+ int gap_code_size = safepoint_entry.gap_code_size(); |
#ifdef DEBUG |
// Destroy the code which is not supposed to run again. |
unsigned instructions = pc_offset - last_pc_offset; |