Chromium Code Reviews

Unified Diff: src/x64/code-stubs-x64.cc

Issue 6529024: X64 Crankshaft: Implement InstanceOf and InstanceOfKnownGlobal (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | src/x64/lithium-codegen-x64.h » ('j') | src/x64/lithium-codegen-x64.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/x64/code-stubs-x64.cc
===================================================================
--- src/x64/code-stubs-x64.cc (revision 6814)
+++ src/x64/code-stubs-x64.cc (working copy)
@@ -3461,6 +3461,9 @@
// is and instance of the function and anything else to
// indicate that the value is not an instance.
+ // None of the flags is supported on X64.
Rico 2011/02/16 14:43:25 is -> are
William Hesse 2011/02/16 15:15:06 Done.
+ ASSERT(flags_ == kNoFlags);
+
// Get the object - go slow case if it's a smi.
Label slow;
__ movq(rax, Operand(rsp, 2 * kPointerSize));
@@ -3536,10 +3539,11 @@
}
-Register InstanceofStub::left() { return rax; }
+// Passing arguments in registers is not supported.
+Register InstanceofStub::left() { return no_reg; }
-Register InstanceofStub::right() { return rdx; }
+Register InstanceofStub::right() { return no_reg; }
int CompareStub::MinorKey() {
« no previous file with comments | « no previous file | src/x64/lithium-codegen-x64.h » ('j') | src/x64/lithium-codegen-x64.cc » ('J')

Powered by Google App Engine