Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index e9a043ab343ad16aaf27223e3ef97a67a33dbd8e..8d4262492b6a1e104b1ae96fc52e4b80827d6049 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; |