Home | History | Annotate | Download | only in mips
      1 // Copyright 2010 the V8 project authors. All rights reserved.
      2 // Redistribution and use in source and binary forms, with or without
      3 // modification, are permitted provided that the following conditions are
      4 // met:
      5 //
      6 //     * Redistributions of source code must retain the above copyright
      7 //       notice, this list of conditions and the following disclaimer.
      8 //     * Redistributions in binary form must reproduce the above
      9 //       copyright notice, this list of conditions and the following
     10 //       disclaimer in the documentation and/or other materials provided
     11 //       with the distribution.
     12 //     * Neither the name of Google Inc. nor the names of its
     13 //       contributors may be used to endorse or promote products derived
     14 //       from this software without specific prior written permission.
     15 //
     16 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     17 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
     18 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
     19 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
     20 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
     21 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
     22 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
     23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
     24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
     26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     27 
     28 
     29 
     30 #include "v8.h"
     31 
     32 #include "codegen-inl.h"
     33 #include "ic-inl.h"
     34 #include "runtime.h"
     35 #include "stub-cache.h"
     36 
     37 namespace v8 {
     38 namespace internal {
     39 
     40 
     41 // ----------------------------------------------------------------------------
     42 // Static IC stub generators.
     43 //
     44 
     45 #define __ ACCESS_MASM(masm)
     46 
     47 
     48 void LoadIC::GenerateArrayLength(MacroAssembler* masm) {
     49   UNIMPLEMENTED_MIPS();
     50 }
     51 
     52 
     53 void LoadIC::GenerateStringLength(MacroAssembler* masm) {
     54   UNIMPLEMENTED_MIPS();
     55 }
     56 
     57 
     58 void LoadIC::GenerateFunctionPrototype(MacroAssembler* masm) {
     59   UNIMPLEMENTED_MIPS();
     60 }
     61 
     62 
     63 // Defined in ic.cc.
     64 Object* CallIC_Miss(Arguments args);
     65 
     66 void CallIC::GenerateMegamorphic(MacroAssembler* masm, int argc) {
     67   UNIMPLEMENTED_MIPS();
     68 }
     69 
     70 
     71 void CallIC::GenerateNormal(MacroAssembler* masm, int argc) {
     72   UNIMPLEMENTED_MIPS();
     73 }
     74 
     75 void CallIC::GenerateMiss(MacroAssembler* masm, int argc) {
     76   UNIMPLEMENTED_MIPS();
     77 }
     78 
     79 // Defined in ic.cc.
     80 Object* LoadIC_Miss(Arguments args);
     81 
     82 void LoadIC::GenerateMegamorphic(MacroAssembler* masm) {
     83   UNIMPLEMENTED_MIPS();
     84 }
     85 
     86 
     87 void LoadIC::GenerateNormal(MacroAssembler* masm) {
     88   UNIMPLEMENTED_MIPS();
     89 }
     90 
     91 
     92 void LoadIC::GenerateMiss(MacroAssembler* masm) {
     93   Generate(masm, ExternalReference(IC_Utility(kLoadIC_Miss)));
     94 }
     95 
     96 
     97 void LoadIC::Generate(MacroAssembler* masm, const ExternalReference& f) {
     98   UNIMPLEMENTED_MIPS();
     99 }
    100 
    101 
    102 void LoadIC::ClearInlinedVersion(Address address) {}
    103 bool LoadIC::PatchInlinedLoad(Address address, Object* map, int offset) {
    104   return false;
    105 }
    106 
    107 void KeyedLoadIC::ClearInlinedVersion(Address address) {}
    108 bool KeyedLoadIC::PatchInlinedLoad(Address address, Object* map) {
    109   return false;
    110 }
    111 
    112 void KeyedStoreIC::ClearInlinedVersion(Address address) {}
    113 void KeyedStoreIC::RestoreInlinedVersion(Address address) {}
    114 bool KeyedStoreIC::PatchInlinedStore(Address address, Object* map) {
    115   return false;
    116 }
    117 
    118 
    119 Object* KeyedLoadIC_Miss(Arguments args);
    120 
    121 
    122 void KeyedLoadIC::GenerateMiss(MacroAssembler* masm) {
    123   Generate(masm, ExternalReference(IC_Utility(kKeyedLoadIC_Miss)));
    124 }
    125 
    126 
    127 void KeyedLoadIC::Generate(MacroAssembler* masm, const ExternalReference& f) {
    128   UNIMPLEMENTED_MIPS();
    129 }
    130 
    131 
    132 void KeyedLoadIC::GenerateGeneric(MacroAssembler* masm) {
    133   UNIMPLEMENTED_MIPS();
    134 }
    135 
    136 
    137 void KeyedLoadIC::GenerateString(MacroAssembler* masm) {
    138   UNIMPLEMENTED_MIPS();
    139 }
    140 
    141 
    142 void KeyedLoadIC::GenerateExternalArray(MacroAssembler* masm,
    143                                         ExternalArrayType array_type) {
    144   UNIMPLEMENTED_MIPS();
    145 }
    146 
    147 
    148 void KeyedStoreIC::Generate(MacroAssembler* masm,
    149                             const ExternalReference& f) {
    150   UNIMPLEMENTED_MIPS();
    151 }
    152 
    153 
    154 void KeyedStoreIC::GenerateGeneric(MacroAssembler* masm) {
    155   UNIMPLEMENTED_MIPS();
    156 }
    157 
    158 
    159 void KeyedStoreIC::GenerateExternalArray(MacroAssembler* masm,
    160                                          ExternalArrayType array_type) {
    161   UNIMPLEMENTED_MIPS();
    162 }
    163 
    164 
    165 void KeyedStoreIC::GenerateExtendStorage(MacroAssembler* masm) {
    166   UNIMPLEMENTED_MIPS();
    167 }
    168 
    169 
    170 void StoreIC::GenerateMegamorphic(MacroAssembler* masm) {
    171   UNIMPLEMENTED_MIPS();
    172 }
    173 
    174 
    175 void StoreIC::GenerateExtendStorage(MacroAssembler* masm) {
    176   UNIMPLEMENTED_MIPS();
    177 }
    178 
    179 
    180 void StoreIC::GenerateMiss(MacroAssembler* masm) {
    181   UNIMPLEMENTED_MIPS();
    182 }
    183 
    184 #undef __
    185 
    186 } }  // namespace v8::internal
    187 
    188