Fix compilation issue in r12489.

R=svenpanne@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10909190

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12490 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
mstarzinger@chromium.org 2012-09-12 14:11:37 +00:00
parent f37f504de5
commit a3733c64a7

View File

@ -449,7 +449,10 @@ void LCodeGen::WriteTranslation(LEnvironment* environment,
*arguments_index = -environment->parameter_count();
*arguments_count = environment->parameter_count();
WriteTranslation(environment->outer(), translation, args_index, args_count);
WriteTranslation(environment->outer(),
translation,
arguments_index,
arguments_count);
int closure_id = *info()->closure() != *environment->closure()
? DefineDeoptimizationLiteral(environment->closure())
: Translation::kSelfLiteralId;