Index: src/code-stub-assembler.h |
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h |
index 538d548af89dcdb07d4eeaf044b8c99a751866ea..ba4f419e8f8df26498b808b715c5548c1e72ef02 100644 |
--- a/src/code-stub-assembler.h |
+++ b/src/code-stub-assembler.h |
@@ -1024,8 +1024,12 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler { |
Label* if_not_found, Label* if_bailout); |
Node* GetProperty(Node* context, Node* receiver, Handle<Name> name) { |
+ return GetProperty(context, receiver, HeapConstant(name)); |
+ } |
+ |
+ Node* GetProperty(Node* context, Node* receiver, Node* const name) { |
return CallStub(CodeFactory::GetProperty(isolate()), context, receiver, |
- HeapConstant(name)); |
+ name); |
} |
void LoadPropertyFromFastObject(Node* object, Node* map, Node* descriptors, |