| OLD | NEW | 
|---|
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include <iomanip> | 5 #include <iomanip> | 
| 6 #include <sstream> | 6 #include <sstream> | 
| 7 | 7 | 
| 8 #include "src/v8.h" | 8 #include "src/v8.h" | 
| 9 | 9 | 
| 10 #include "src/accessors.h" | 10 #include "src/accessors.h" | 
| (...skipping 11251 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 11262       return *builtins->MarkCodeAsExecutedTwice(); | 11262       return *builtins->MarkCodeAsExecutedTwice(); | 
| 11263     } | 11263     } | 
| 11264     default: | 11264     default: | 
| 11265       UNREACHABLE(); | 11265       UNREACHABLE(); | 
| 11266       break; | 11266       break; | 
| 11267   } | 11267   } | 
| 11268   return NULL; | 11268   return NULL; | 
| 11269 } | 11269 } | 
| 11270 | 11270 | 
| 11271 | 11271 | 
| 11272 void Code::PrintDeoptLocation(FILE* out, int bailout_id) { | 11272 void Code::PrintDeoptLocation(FILE* out, Address pc) { | 
| 11273   Deoptimizer::DeoptInfo info = Deoptimizer::GetDeoptInfo(this, bailout_id); | 11273   Deoptimizer::DeoptInfo info = Deoptimizer::GetDeoptInfo(this, pc); | 
| 11274   class SourcePosition pos = info.position; | 11274   class SourcePosition pos = info.position; | 
| 11275   if (info.deopt_reason != Deoptimizer::kNoReason || !pos.IsUnknown()) { | 11275   if (info.deopt_reason != Deoptimizer::kNoReason || !pos.IsUnknown()) { | 
| 11276     if (FLAG_hydrogen_track_positions) { | 11276     if (FLAG_hydrogen_track_positions) { | 
| 11277       PrintF(out, "            ;;; deoptimize at %d_%d: %s\n", | 11277       PrintF(out, "            ;;; deoptimize at %d_%d: %s\n", | 
| 11278              pos.inlining_id(), pos.position(), | 11278              pos.inlining_id(), pos.position(), | 
| 11279              Deoptimizer::GetDeoptReason(info.deopt_reason)); | 11279              Deoptimizer::GetDeoptReason(info.deopt_reason)); | 
| 11280     } else { | 11280     } else { | 
| 11281       PrintF(out, "            ;;; deoptimize at %d: %s\n", pos.raw(), | 11281       PrintF(out, "            ;;; deoptimize at %d: %s\n", pos.raw(), | 
| 11282              Deoptimizer::GetDeoptReason(info.deopt_reason)); | 11282              Deoptimizer::GetDeoptReason(info.deopt_reason)); | 
| 11283     } | 11283     } | 
| (...skipping 5888 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 17172                                                CompilationInfo* info) { | 17172                                                CompilationInfo* info) { | 
| 17173   Handle<DependentCode> codes = DependentCode::InsertCompilationInfo( | 17173   Handle<DependentCode> codes = DependentCode::InsertCompilationInfo( | 
| 17174       handle(cell->dependent_code(), info->isolate()), | 17174       handle(cell->dependent_code(), info->isolate()), | 
| 17175       DependentCode::kPropertyCellChangedGroup, info->object_wrapper()); | 17175       DependentCode::kPropertyCellChangedGroup, info->object_wrapper()); | 
| 17176   if (*codes != cell->dependent_code()) cell->set_dependent_code(*codes); | 17176   if (*codes != cell->dependent_code()) cell->set_dependent_code(*codes); | 
| 17177   info->dependencies(DependentCode::kPropertyCellChangedGroup)->Add( | 17177   info->dependencies(DependentCode::kPropertyCellChangedGroup)->Add( | 
| 17178       cell, info->zone()); | 17178       cell, info->zone()); | 
| 17179 } | 17179 } | 
| 17180 | 17180 | 
| 17181 } }  // namespace v8::internal | 17181 } }  // namespace v8::internal | 
| OLD | NEW | 
|---|