| Index: src/deoptimizer.cc
|
| diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc
|
| index 68b10d9612e54909773584565a48f4e25a5a59ef..d06804b575a100b3167353243b25bef53b44b80f 100644
|
| --- a/src/deoptimizer.cc
|
| +++ b/src/deoptimizer.cc
|
| @@ -731,12 +731,6 @@ void Deoptimizer::DoComputeOutputFrames() {
|
| LOG(isolate(), CodeDeoptEvent(compiled_code_));
|
| }
|
| ElapsedTimer timer;
|
| -
|
| - // Determine basic deoptimization information. The optimized frame is
|
| - // described by the input data.
|
| - DeoptimizationInputData* input_data =
|
| - DeoptimizationInputData::cast(compiled_code_->deoptimization_data());
|
| -
|
| if (trace_scope_ != NULL) {
|
| timer.Start();
|
| PrintF(trace_scope_->file(),
|
| @@ -745,8 +739,7 @@ void Deoptimizer::DoComputeOutputFrames() {
|
| reinterpret_cast<intptr_t>(function_));
|
| PrintFunctionName();
|
| PrintF(trace_scope_->file(),
|
| - " (opt #%d) @%d, FP to SP delta: %d]\n",
|
| - input_data->OptimizationId()->value(),
|
| + " @%d, FP to SP delta: %d]\n",
|
| bailout_id_,
|
| fp_to_sp_delta_);
|
| if (bailout_type_ == EAGER || bailout_type_ == SOFT) {
|
| @@ -754,6 +747,10 @@ void Deoptimizer::DoComputeOutputFrames() {
|
| }
|
| }
|
|
|
| + // Determine basic deoptimization information. The optimized frame is
|
| + // described by the input data.
|
| + DeoptimizationInputData* input_data =
|
| + DeoptimizationInputData::cast(compiled_code_->deoptimization_data());
|
| BailoutId node_id = input_data->AstId(bailout_id_);
|
| ByteArray* translations = input_data->TranslationByteArray();
|
| unsigned translation_index =
|
| @@ -2691,9 +2688,6 @@ FrameDescription::FrameDescription(uint32_t frame_size,
|
| constant_pool_(kZapUint32) {
|
| // Zap all the registers.
|
| for (int r = 0; r < Register::kNumRegisters; r++) {
|
| - // TODO(jbramley): It isn't safe to use kZapUint32 here. If the register
|
| - // isn't used before the next safepoint, the GC will try to scan it as a
|
| - // tagged value. kZapUint32 looks like a valid tagged pointer, but it isn't.
|
| SetRegister(r, kZapUint32);
|
| }
|
|
|
|
|