diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-01-17 11:32:56 -0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-01-17 11:32:56 -0800 |
commit | cf2e4f44afbfb208c5976786c96ec963930323cc (patch) | |
tree | 7e9ddac16d51490f1428abb610afd02eda98aacf /deps/v8/src/disassembler.cc | |
parent | 082a4b6033df22a68518c58d320e86f688db7bda (diff) | |
download | android-node-v8-cf2e4f44afbfb208c5976786c96ec963930323cc.tar.gz android-node-v8-cf2e4f44afbfb208c5976786c96ec963930323cc.tar.bz2 android-node-v8-cf2e4f44afbfb208c5976786c96ec963930323cc.zip |
Upgrade V8 to 3.0.8
Diffstat (limited to 'deps/v8/src/disassembler.cc')
-rw-r--r-- | deps/v8/src/disassembler.cc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/deps/v8/src/disassembler.cc b/deps/v8/src/disassembler.cc index bb0a07229a..194a299f02 100644 --- a/deps/v8/src/disassembler.cc +++ b/deps/v8/src/disassembler.cc @@ -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: @@ -268,10 +268,13 @@ static int DecodeIt(FILE* f, 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); } } |