Always tag number candidate as smi if it does not come from load-keyed.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14521 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
verwaest@chromium.org 2013-05-02 14:41:06 +00:00
parent 8b1f81fa24
commit 8b25614aa9
4 changed files with 8 additions and 0 deletions

View File

@ -5159,6 +5159,8 @@ void LCodeGen::DoNumberUntagD(LNumberUntagD* instr) {
} else { } else {
mode = NUMBER_CANDIDATE_IS_SMI; mode = NUMBER_CANDIDATE_IS_SMI;
} }
} else {
mode = NUMBER_CANDIDATE_IS_SMI;
} }
} }

View File

@ -5510,6 +5510,8 @@ void LCodeGen::DoNumberUntagD(LNumberUntagD* instr) {
} else { } else {
mode = NUMBER_CANDIDATE_IS_SMI; mode = NUMBER_CANDIDATE_IS_SMI;
} }
} else {
mode = NUMBER_CANDIDATE_IS_SMI;
} }
} }

View File

@ -4855,6 +4855,8 @@ void LCodeGen::DoNumberUntagD(LNumberUntagD* instr) {
} else { } else {
mode = NUMBER_CANDIDATE_IS_SMI; mode = NUMBER_CANDIDATE_IS_SMI;
} }
} else {
mode = NUMBER_CANDIDATE_IS_SMI;
} }
} }

View File

@ -4803,6 +4803,8 @@ void LCodeGen::DoNumberUntagD(LNumberUntagD* instr) {
} else { } else {
mode = NUMBER_CANDIDATE_IS_SMI; mode = NUMBER_CANDIDATE_IS_SMI;
} }
} else {
mode = NUMBER_CANDIDATE_IS_SMI;
} }
} }