Commit 8b25614a authored by verwaest@chromium.org's avatar verwaest@chromium.org

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
parent 8b1f81fa
...@@ -5159,6 +5159,8 @@ void LCodeGen::DoNumberUntagD(LNumberUntagD* instr) { ...@@ -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;
} }
} }
......
...@@ -5510,6 +5510,8 @@ void LCodeGen::DoNumberUntagD(LNumberUntagD* instr) { ...@@ -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;
} }
} }
......
...@@ -4855,6 +4855,8 @@ void LCodeGen::DoNumberUntagD(LNumberUntagD* instr) { ...@@ -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;
} }
} }
......
...@@ -4803,6 +4803,8 @@ void LCodeGen::DoNumberUntagD(LNumberUntagD* instr) { ...@@ -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;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment