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

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

Issue 24366004: Split HCompareGeneric in a test and a branch part. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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
Index: src/x64/lithium-x64.cc
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc
index ddaae82022cef07d66f42448d2bc2219633d583f..05b6dcca362b0582cdd3c004ba2bb5eba5faee3a 100644
--- a/src/x64/lithium-x64.cc
+++ b/src/x64/lithium-x64.cc
@@ -999,6 +999,12 @@ LInstruction* LChunkBuilder::DoDebugBreak(HDebugBreak* instr) {
}
+LInstruction* LChunkBuilder::DoAndBranch(HAndBranch* instr) {
+ return new(zone()) LAndBranch(UseRegister(instr->value()),
+ instr->op());
+}
+
+
LInstruction* LChunkBuilder::DoBranch(HBranch* instr) {
HValue* value = instr->value();
if (value->EmitAtUses()) {

Powered by Google App Engine
This is Rietveld 408576698