Index: src/ia32/full-codegen-ia32.cc |
=================================================================== |
--- src/ia32/full-codegen-ia32.cc (revision 9855) |
+++ src/ia32/full-codegen-ia32.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) { |
@@ -1680,14 +1675,14 @@ |
ASSERT(!key->handle()->IsSmi()); |
__ mov(ecx, Immediate(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()); |
} |