Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(386)

Side by Side Diff: src/objects.cc

Issue 11537005: Fix missing printing of deoptimizer input data. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 9199 matching lines...) Expand 10 before | Expand all | Expand 10 after
9210 PrintF(out, "{input=%d}", input_slot_index); 9210 PrintF(out, "{input=%d}", input_slot_index);
9211 break; 9211 break;
9212 } 9212 }
9213 9213
9214 case Translation::LITERAL: { 9214 case Translation::LITERAL: {
9215 unsigned literal_index = iterator.Next(); 9215 unsigned literal_index = iterator.Next();
9216 PrintF(out, "{literal_id=%u}", literal_index); 9216 PrintF(out, "{literal_id=%u}", literal_index);
9217 break; 9217 break;
9218 } 9218 }
9219 9219
9220 case Translation::ARGUMENTS_OBJECT: 9220 case Translation::ARGUMENTS_OBJECT: {
9221 int args_index = iterator.Next();
9222 int args_length = iterator.Next();
9223 PrintF(out, "{index=%d, length=%d}", args_index, args_length);
9221 break; 9224 break;
9225 }
9222 } 9226 }
9223 PrintF(out, "\n"); 9227 PrintF(out, "\n");
9224 } 9228 }
9225 } 9229 }
9226 } 9230 }
9227 9231
9228 9232
9229 void DeoptimizationOutputData::DeoptimizationOutputDataPrint(FILE* out) { 9233 void DeoptimizationOutputData::DeoptimizationOutputDataPrint(FILE* out) {
9230 PrintF(out, "Deoptimization Output Data (deopt points = %d)\n", 9234 PrintF(out, "Deoptimization Output Data (deopt points = %d)\n",
9231 this->DeoptPoints()); 9235 this->DeoptPoints());
(...skipping 4795 matching lines...) Expand 10 before | Expand all | Expand 10 after
14027 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); 14031 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER);
14028 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); 14032 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER);
14029 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); 14033 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER);
14030 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); 14034 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER);
14031 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); 14035 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER);
14032 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); 14036 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER);
14033 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); 14037 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER);
14034 } 14038 }
14035 14039
14036 } } // namespace v8::internal 14040 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698