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

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

Issue 5988003: Implement inlining of instanceof tests on ARM. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 10 years 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/arm/lithium-arm.cc
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc
index 9c792316f5e12977ad14e9b151efd7def671e060..c4e8b84ea6f99608671d2daf86798e18b78d19df 100644
--- a/src/arm/lithium-arm.cc
+++ b/src/arm/lithium-arm.cc
@@ -1316,7 +1316,7 @@ LInstruction* LChunkBuilder::DoArgumentsElements(HArgumentsElements* elems) {
LInstruction* LChunkBuilder::DoInstanceOf(HInstanceOf* instr) {
LInstruction* result =
- new LInstanceOf(Use(instr->left()), Use(instr->right()));
+ new LInstanceOf(UseFixed(instr->left(), r1), UseFixed(instr->right(), r0));
Søren Thygesen Gjesse 2010/12/20 13:07:10 Long line.
Karl Klose 2010/12/21 08:56:37 Done.
return MarkAsCall(DefineFixed(result, r0), instr);
}

Powered by Google App Engine
This is Rietveld 408576698