Home | History | Annotate | Download | only in src

Lines Matching refs:accumulator

1023 void StackFrame::PrintIndex(StringStream* accumulator,
1026 accumulator->Add((mode == OVERVIEW) ? "%5d: " : "[%d]: ", index);
1030 void JavaScriptFrame::Print(StringStream* accumulator,
1037 accumulator->PrintSecurityTokenIfChanged(function);
1038 PrintIndex(accumulator, mode, index);
1040 if (IsConstructor()) accumulator->Add("new ");
1041 accumulator->PrintFunction(function, receiver, &code);
1055 accumulator->Add(" [");
1056 accumulator->PrintName(script->name());
1063 accumulator->Add(":%d", line);
1067 accumulator->Add(":~%d", line);
1070 accumulator->Add("] ");
1074 accumulator->Add("(this=%o", receiver);
1079 accumulator->Add(",");
1084 accumulator->PrintName(scope_info->ParameterName(i));
1085 accumulator->Add("=");
1087 accumulator->Add("%o", GetParameter(i));
1090 accumulator->Add(")");
1092 accumulator->Add("\n");
1096 accumulator->Add(" {\n// optimized frame\n}\n");
1099 accumulator->Add(" {\n");
1108 accumulator->Add(" // stack-allocated locals\n");
1111 accumulator->Add(" var ");
1112 accumulator->PrintName(scope_info->StackLocalName(i));
1113 accumulator->Add(" = ");
1115 accumulator->Add("%o", GetExpression(i));
1117 accumulator->Add("// no expression found - inconsistent frame?");
1119 accumulator->Add("\n");
1130 accumulator->Add(" // heap-allocated locals\n");
1133 accumulator->Add(" var ");
1134 accumulator->PrintName(scope_info->ContextLocalName(i));
1135 accumulator->Add(" = ");
1138 accumulator->Add("%o", context->get(Context::MIN_CONTEXT_SLOTS + i));
1140 accumulator->Add(
1144 accumulator->Add("// warning: no context found - inconsistent frame?");
1146 accumulator->Add("\n");
1152 accumulator->Add(" // expression stack (top to bottom)\n");
1156 accumulator->Add(" [%02d] : %o\n", i, GetExpression(i));
1162 accumulator->Add("--------- s o u r c e c o d e ---------\n");
1163 shared->SourceCodePrint(accumulator, FLAG_max_stack_trace_source_length);
1164 accumulator->Add("\n-----------------------------------------\n");
1167 accumulator->Add("}\n\n");
1171 void ArgumentsAdaptorFrame::Print(StringStream* accumulator,
1181 PrintIndex(accumulator, mode, index);
1182 accumulator->Add("arguments adaptor frame: %d->%d", actual, expected);
1184 accumulator->Add("\n");
1187 accumulator->Add(" {\n");
1190 if (actual > 0) accumulator->Add(" // actual arguments\n");
1192 accumulator->Add(" [%02d] : %o", i, GetParameter(i));
1194 accumulator->Add(" // not passed to callee");
1196 accumulator->Add("\n");
1199 accumulator->Add("}\n\n");