Lines Matching refs:accumulator
1153 void StackFrame::PrintIndex(StringStream* accumulator,
1156 accumulator->Add((mode == OVERVIEW) ? "%5d: " : "[%d]: ", index);
1160 void JavaScriptFrame::Print(StringStream* accumulator,
1167 accumulator->PrintSecurityTokenIfChanged(function);
1168 PrintIndex(accumulator, mode, index);
1170 if (IsConstructor()) accumulator->Add("new ");
1171 accumulator->PrintFunction(function, receiver, &code);
1184 accumulator->Add(" [");
1185 accumulator->PrintName(script->name());
1192 accumulator->Add(":%d", line);
1196 accumulator->Add(":~%d", line);
1199 accumulator->Add("] ");
1202 accumulator->Add("(this=%o", receiver);
1207 accumulator->Add(",");
1212 accumulator->PrintName(scope_info->ParameterName(i));
1213 accumulator->Add("=");
1215 accumulator->Add("%o", GetParameter(i));
1218 accumulator->Add(")");
1220 accumulator->Add("\n");
1224 accumulator->Add(" {\n// optimized frame\n}\n");
1227 accumulator->Add(" {\n");
1236 accumulator->Add(" // stack-allocated locals\n");
1239 accumulator->Add(" var ");
1240 accumulator->PrintName(scope_info->StackLocalName(i));
1241 accumulator->Add(" = ");
1243 accumulator->Add("%o", GetExpression(i));
1245 accumulator->Add("// no expression found - inconsistent frame?");
1247 accumulator->Add("\n");
1258 accumulator->Add(" // heap-allocated locals\n");
1261 accumulator->Add(" var ");
1262 accumulator->PrintName(scope_info->ContextLocalName(i));
1263 accumulator->Add(" = ");
1266 accumulator->Add("%o", context->get(Context::MIN_CONTEXT_SLOTS + i));
1268 accumulator->Add(
1272 accumulator->Add("// warning: no context found - inconsistent frame?");
1274 accumulator->Add("\n");
1280 accumulator->Add(" // expression stack (top to bottom)\n");
1284 accumulator->Add(" [%02d] : %o\n", i, GetExpression(i));
1290 accumulator->Add("--------- s o u r c e c o d e ---------\n");
1291 shared->SourceCodePrint(accumulator, FLAG_max_stack_trace_source_length);
1292 accumulator->Add("\n-----------------------------------------\n");
1295 accumulator->Add("}\n\n");
1299 void ArgumentsAdaptorFrame::Print(StringStream* accumulator,
1307 PrintIndex(accumulator, mode, index);
1308 accumulator->Add("arguments adaptor frame: %d->%d", actual, expected);
1310 accumulator->Add("\n");
1313 accumulator->Add(" {\n");
1316 if (actual > 0) accumulator->Add(" // actual arguments\n");
1318 accumulator->Add(" [%02d] : %o", i, GetParameter(i));
1320 accumulator->Add(" // not passed to callee");
1322 accumulator->Add("\n");
1325 accumulator->Add("}\n\n");