Index: src/x64/full-codegen-x64.cc |
=================================================================== |
--- src/x64/full-codegen-x64.cc (revision 9855) |
+++ src/x64/full-codegen-x64.cc (working copy) |
@@ -44,11 +44,6 @@ |
#define __ ACCESS_MASM(masm_) |
-static unsigned GetPropertyId(Property* property) { |
- return property->id(); |
-} |
- |
- |
class JumpPatchSite BASE_EMBEDDED { |
public: |
explicit JumpPatchSite(MacroAssembler* masm) : masm_(masm) { |
@@ -1688,14 +1683,14 @@ |
Literal* key = prop->key()->AsLiteral(); |
__ Move(rcx, key->handle()); |
Handle<Code> ic = isolate()->builtins()->LoadIC_Initialize(); |
- __ call(ic, RelocInfo::CODE_TARGET, GetPropertyId(prop)); |
+ __ call(ic, RelocInfo::CODE_TARGET, prop->id()); |
} |
void FullCodeGenerator::EmitKeyedPropertyLoad(Property* prop) { |
SetSourcePosition(prop->position()); |
Handle<Code> ic = isolate()->builtins()->KeyedLoadIC_Initialize(); |
- __ call(ic, RelocInfo::CODE_TARGET, GetPropertyId(prop)); |
+ __ call(ic, RelocInfo::CODE_TARGET, prop->id()); |
} |