| Index: src/disassembler.cc
|
| ===================================================================
|
| --- src/disassembler.cc (revision 6941)
|
| +++ src/disassembler.cc (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2010 the V8 project authors. All rights reserved.
|
| +// Copyright 2011 the V8 project authors. All rights reserved.
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| // met:
|
| @@ -269,10 +269,13 @@
|
| Code::Kind2String(kind),
|
| CodeStub::MajorName(major_key, false));
|
| switch (major_key) {
|
| - case CodeStub::CallFunction:
|
| - out.AddFormatted("argc = %d", minor_key);
|
| + case CodeStub::CallFunction: {
|
| + int argc =
|
| + CallFunctionStub::ExtractArgcFromMinorKey(minor_key);
|
| + out.AddFormatted("argc = %d", argc);
|
| break;
|
| - default:
|
| + }
|
| + default:
|
| out.AddFormatted("minor: %d", minor_key);
|
| }
|
| }
|
|
|