Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index f473559638f1c1a5b261cdc88ac0234254dc1f99..c398aa30fbbd4142324453e5ee56b1dd2da37aa5 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -1,4 +1,4 @@ |
-// Copyright 2006-2008 the V8 project authors. All rights reserved. |
+// Copyright 2011 the V8 project authors. All rights reserved. |
// Redistribution and use in source and binary forms, with or without |
// modification, are permitted provided that the following conditions are |
// met: |
@@ -1341,8 +1341,18 @@ static void Generate_KeyedLoadIC_Initialize(MacroAssembler* masm) { |
} |
+static void Generate_KeyedLoadIC_Slow(MacroAssembler* masm) { |
+ KeyedLoadIC::GenerateRuntimeGetProperty(masm); |
+} |
+ |
+ |
static void Generate_KeyedLoadIC_Miss(MacroAssembler* masm) { |
- KeyedLoadIC::GenerateMiss(masm); |
+ KeyedLoadIC::GenerateMiss(masm, false); |
+} |
+ |
+ |
+static void Generate_KeyedLoadIC_MissForceGeneric(MacroAssembler* masm) { |
+ KeyedLoadIC::GenerateMiss(masm, true); |
} |
@@ -1431,7 +1441,17 @@ static void Generate_KeyedStoreIC_Generic_Strict(MacroAssembler* masm) { |
static void Generate_KeyedStoreIC_Miss(MacroAssembler* masm) { |
- KeyedStoreIC::GenerateMiss(masm); |
+ KeyedStoreIC::GenerateMiss(masm, false); |
+} |
+ |
+ |
+static void Generate_KeyedStoreIC_MissForceGeneric(MacroAssembler* masm) { |
+ KeyedStoreIC::GenerateMiss(masm, true); |
+} |
+ |
+ |
+static void Generate_KeyedStoreIC_Slow(MacroAssembler* masm) { |
+ KeyedStoreIC::GenerateSlow(masm); |
} |