| Index: src/builtins.cc
|
| diff --git a/src/builtins.cc b/src/builtins.cc
|
| index ae3dab46c3f3038a4a8157691211f1b7ec8e16ce..177a10924b3f342e641bbe757e7441c70ce446a9 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:
|
| @@ -1339,8 +1339,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);
|
| }
|
|
|
|
|
| @@ -1429,7 +1439,22 @@ 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_Strict(MacroAssembler* masm) {
|
| + KeyedStoreIC::GenerateRuntimeSetProperty(masm, kStrictMode);
|
| +}
|
| +
|
| +
|
| +static void Generate_KeyedStoreIC_Slow_NonStrict(MacroAssembler* masm) {
|
| + KeyedStoreIC::GenerateRuntimeSetProperty(masm, kNonStrictMode);
|
| }
|
|
|
|
|
|
|