Fix renaming patch to also compile in debug mode.

R=ricow@chromium.org
BUG=
TEST=

Review URL: http://codereview.chromium.org/7236015

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8387 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
ager@chromium.org 2011-06-23 06:33:38 +00:00
parent 03fc1660b3
commit 5ea7238814

View File

@ -134,8 +134,8 @@ HDeoptimize* HBasicBlock::CreateDeoptimize(
HSimulate* HBasicBlock::CreateSimulate(int ast_id) { HSimulate* HBasicBlock::CreateSimulate(int ast_id) {
ASSERT(HasEnvironment()); ASSERT(HasEnvironment());
HEnvironment* environment = last_environment(); HEnvironment* environment = last_environment();
ASSERT(id == AstNode::kNoNumber || ASSERT(ast_id == AstNode::kNoNumber ||
environment->closure()->shared()->VerifyBailoutId(id)); environment->closure()->shared()->VerifyBailoutId(ast_id));
int push_count = environment->push_count(); int push_count = environment->push_count();
int pop_count = environment->pop_count(); int pop_count = environment->pop_count();