Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(475)

Unified Diff: src/x64/lithium-codegen-x64.cc

Issue 328553005: Sign extend the dehoisted key at the definition point for x64 port only; for x32 port, we need to si (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/x64/lithium-x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/x64/lithium-codegen-x64.cc
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
index 75ba04e48170f0ed94975dc180d28f5cd9625ae3..9d59aab08d947a678430025d066229027533e3eb 100644
--- a/src/x64/lithium-codegen-x64.cc
+++ b/src/x64/lithium-codegen-x64.cc
@@ -275,6 +275,7 @@ void LCodeGen::GenerateBodyInstructionPost(LInstruction* instr) {
}
if (instr->HasResult() && instr->MustSignExtendResult(chunk())) {
+ ASSERT(kPointerSize == kInt64Size);
Jakob Kummerow 2014/06/10 12:01:17 Please use STATIC_ASSERT when you can.
haitao.feng 2014/06/11 02:44:22 Done.
if (instr->result()->IsRegister()) {
Register result_reg = ToRegister(instr->result());
__ movsxlq(result_reg, result_reg);
« no previous file with comments | « no previous file | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698