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 #if defined(V8_TARGET_ARCH_MIPS)
     33 
     34 #include "codegen-inl.h"
     35 #include "debug.h"
     36 
     37 namespace v8 {
     38 namespace internal {
     39 
     40 #ifdef ENABLE_DEBUGGER_SUPPORT
     41 
     42 bool BreakLocationIterator::IsDebugBreakAtReturn() {
     43   UNIMPLEMENTED_MIPS();
     44   return false;
     45 }
     46 
     47 
     48 void BreakLocationIterator::SetDebugBreakAtReturn() {
     49   UNIMPLEMENTED_MIPS();
     50 }
     51 
     52 
     53 // Restore the JS frame exit code.
     54 void BreakLocationIterator::ClearDebugBreakAtReturn() {
     55   UNIMPLEMENTED_MIPS();
     56 }
     57 
     58 
     59 // A debug break in the exit code is identified by the JS frame exit code
     60 // having been patched with li/call psuedo-instrunction (liu/ori/jalr)
     61 bool Debug::IsDebugBreakAtReturn(RelocInfo* rinfo) {
     62   UNIMPLEMENTED_MIPS();
     63   return false;
     64 }
     65 
     66 
     67 bool BreakLocationIterator::IsDebugBreakAtSlot() {
     68   UNIMPLEMENTED_MIPS();
     69   return false;
     70 }
     71 
     72 
     73 void BreakLocationIterator::SetDebugBreakAtSlot() {
     74   UNIMPLEMENTED_MIPS();
     75 }
     76 
     77 
     78 void BreakLocationIterator::ClearDebugBreakAtSlot() {
     79   UNIMPLEMENTED_MIPS();
     80 }
     81 
     82 
     83 #define __ ACCESS_MASM(masm)
     84 
     85 
     86 void Debug::GenerateLoadICDebugBreak(MacroAssembler* masm) {
     87   UNIMPLEMENTED_MIPS();
     88 }
     89 
     90 
     91 void Debug::GenerateStoreICDebugBreak(MacroAssembler* masm) {
     92   UNIMPLEMENTED_MIPS();
     93 }
     94 
     95 
     96 void Debug::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) {
     97   UNIMPLEMENTED_MIPS();
     98 }
     99 
    100 
    101 void Debug::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) {
    102   UNIMPLEMENTED_MIPS();
    103 }
    104 
    105 
    106 void Debug::GenerateCallICDebugBreak(MacroAssembler* masm) {
    107   UNIMPLEMENTED_MIPS();
    108 }
    109 
    110 
    111 void Debug::GenerateConstructCallDebugBreak(MacroAssembler* masm) {
    112   UNIMPLEMENTED_MIPS();
    113 }
    114 
    115 
    116 void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) {
    117   UNIMPLEMENTED_MIPS();
    118 }
    119 
    120 
    121 void Debug::GenerateStubNoRegistersDebugBreak(MacroAssembler* masm) {
    122   UNIMPLEMENTED_MIPS();
    123 }
    124 
    125 
    126 void Debug::GenerateSlot(MacroAssembler* masm) {
    127   UNIMPLEMENTED_MIPS();
    128 }
    129 
    130 
    131 void Debug::GenerateSlotDebugBreak(MacroAssembler* masm) {
    132   UNIMPLEMENTED_MIPS();
    133 }
    134 
    135 
    136 void Debug::GeneratePlainReturnLiveEdit(MacroAssembler* masm) {
    137   UNIMPLEMENTED_MIPS();
    138 }
    139 
    140 
    141 void Debug::GenerateFrameDropperLiveEdit(MacroAssembler* masm) {
    142   UNIMPLEMENTED_MIPS();
    143 }
    144 
    145 
    146 const bool Debug::kFrameDropperSupported = false;
    147 
    148 #undef __
    149 
    150 
    151 #endif  // ENABLE_DEBUGGER_SUPPORT
    152 
    153 } }  // namespace v8::internal
    154 
    155 #endif  // V8_TARGET_ARCH_MIPS
    156