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

Unified Diff: src/compiler/ia32/instruction-scheduler-ia32.cc

Issue 2623633003: [Atomics] Make Atomics.exchange a builtin using TF (Closed)
Patch Set: remove headers Created 3 years, 10 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/compiler/ia32/instruction-scheduler-ia32.cc
diff --git a/src/compiler/ia32/instruction-scheduler-ia32.cc b/src/compiler/ia32/instruction-scheduler-ia32.cc
index 3216b1de0bf657e66bf56f67f2be8a5f35a51dcb..efd5065bda552f5ab3eb3f3ebf2e4d35bf52134c 100644
--- a/src/compiler/ia32/instruction-scheduler-ia32.cc
+++ b/src/compiler/ia32/instruction-scheduler-ia32.cc
@@ -128,11 +128,6 @@ int InstructionScheduler::GetTargetInstructionFlags(
case kIA32Poke:
return kHasSideEffect;
- case kIA32Xchgb:
- case kIA32Xchgw:
- case kIA32Xchgl:
- return kIsLoadOperation | kHasSideEffect;
-
#define CASE(Name) case k##Name:
COMMON_ARCH_OPCODE_LIST(CASE)
#undef CASE

Powered by Google App Engine
This is Rietveld 408576698