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