Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index 1ac118ca916cd09220419e587a5e0c3e69a92718..9d451e6c4544542ae4f87e3eb264c87b8b752cf5 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -609,6 +609,13 @@ void FullCodeGenerator::EmitRegExpConstructResult(CallRuntime* expr) { |
EmitIntrinsicAsStubCall(expr, CodeFactory::RegExpConstructResult(isolate())); |
} |
+void FullCodeGenerator::EmitHasProperty() { |
+ Callable callable = CodeFactory::HasProperty(isolate()); |
+ PopOperand(callable.descriptor().GetRegisterParameter(1)); |
+ PopOperand(callable.descriptor().GetRegisterParameter(0)); |
+ __ Call(callable.code(), RelocInfo::CODE_TARGET); |
+ RestoreContext(); |
+} |
bool RecordStatementPosition(MacroAssembler* masm, int pos) { |
if (pos == RelocInfo::kNoPosition) return false; |