ager@chromium.org | 5c83825 | 2010-02-19 08:53:10 +0000 | [diff] [blame] | 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 | #include "v8.h" |
| 29 | |
erik.corry@gmail.com | 9dfbea4 | 2010-05-21 12:58:28 +0000 | [diff] [blame] | 30 | #if defined(V8_TARGET_ARCH_MIPS) |
| 31 | |
ager@chromium.org | 5c83825 | 2010-02-19 08:53:10 +0000 | [diff] [blame] | 32 | #include "codegen-inl.h" |
| 33 | #include "fast-codegen.h" |
| 34 | |
| 35 | namespace v8 { |
| 36 | namespace internal { |
| 37 | |
| 38 | #define __ ACCESS_MASM(masm_) |
| 39 | |
ager@chromium.org | ce5e87b | 2010-03-10 10:24:18 +0000 | [diff] [blame] | 40 | Register FastCodeGenerator::accumulator0() { return no_reg; } |
| 41 | Register FastCodeGenerator::accumulator1() { return no_reg; } |
| 42 | Register FastCodeGenerator::scratch0() { return no_reg; } |
| 43 | Register FastCodeGenerator::scratch1() { return no_reg; } |
| 44 | Register FastCodeGenerator::receiver_reg() { return no_reg; } |
| 45 | Register FastCodeGenerator::context_reg() { return no_reg; } |
| 46 | |
| 47 | |
ager@chromium.org | 5c83825 | 2010-02-19 08:53:10 +0000 | [diff] [blame] | 48 | void FastCodeGenerator::Generate(CompilationInfo* info) { |
| 49 | UNIMPLEMENTED_MIPS(); |
| 50 | } |
| 51 | |
| 52 | |
| 53 | void FastCodeGenerator::EmitThisPropertyStore(Handle<String> name) { |
| 54 | UNIMPLEMENTED_MIPS(); |
| 55 | } |
| 56 | |
| 57 | |
ager@chromium.org | ce5e87b | 2010-03-10 10:24:18 +0000 | [diff] [blame] | 58 | void FastCodeGenerator::EmitGlobalVariableLoad(Handle<Object> name) { |
| 59 | UNIMPLEMENTED_MIPS(); |
| 60 | } |
| 61 | |
| 62 | |
| 63 | void FastCodeGenerator::EmitThisPropertyLoad(Handle<String> name) { |
| 64 | UNIMPLEMENTED_MIPS(); |
| 65 | } |
| 66 | |
| 67 | |
| 68 | void FastCodeGenerator::EmitBitOr() { |
ager@chromium.org | 5c83825 | 2010-02-19 08:53:10 +0000 | [diff] [blame] | 69 | UNIMPLEMENTED_MIPS(); |
| 70 | } |
| 71 | |
| 72 | #undef __ |
| 73 | |
| 74 | |
| 75 | } } // namespace v8::internal |
| 76 | |
erik.corry@gmail.com | 9dfbea4 | 2010-05-21 12:58:28 +0000 | [diff] [blame] | 77 | #endif // V8_TARGET_ARCH_MIPS |