Index: src/ia32/ic-ia32.cc |
diff --git a/src/ia32/ic-ia32.cc b/src/ia32/ic-ia32.cc |
index 5f32910c44e68041dd044fc6c2d1ef3f89f9656c..95c7c029d6b2a64de985e52b895db630cc02721a 100644 |
--- a/src/ia32/ic-ia32.cc |
+++ b/src/ia32/ic-ia32.cc |
@@ -1354,6 +1354,23 @@ void LoadIC::GenerateMiss(MacroAssembler* masm) { |
} |
+void LoadIC::GenerateRuntimeGetProperty(MacroAssembler* masm) { |
+ // ----------- S t a t e ------------- |
+ // -- ecx : key |
+ // -- edx : receiver |
+ // -- esp[0] : return address |
+ // ----------------------------------- |
+ |
+ __ pop(ebx); |
+ __ push(edx); // receiver |
+ __ push(ecx); // name |
+ __ push(ebx); // return address |
+ |
+ // Perform tail call to the entry. |
+ __ TailCallRuntime(Runtime::kGetProperty, 2, 1); |
+} |
+ |
+ |
void KeyedLoadIC::GenerateMiss(MacroAssembler* masm, ICMissMode miss_mode) { |
// ----------- S t a t e ------------- |
// -- ecx : key |