| 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 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 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" | 28 #include "v8.h" |
| 29 #include "disasm.h" | 29 #include "disasm.h" |
| 30 | 30 |
| 31 namespace disasm { | 31 namespace disasm { |
| 32 | 32 |
| 33 Disassembler::Disassembler(NameConverter const& converter) | 33 Disassembler::Disassembler(NameConverter const& converter) |
| 34 : converter_(converter) { | 34 : converter_(converter) { |
| 35 UNIMPLEMENTED(); | 35 UNIMPLEMENTED(); |
| 36 } | 36 } |
| 37 | 37 |
| 38 | 38 |
| 39 Disassembler::~Disassembler() { | 39 Disassembler::~Disassembler() { |
| 40 UNIMPLEMENTED(); | 40 UNIMPLEMENTED(); |
| 41 } | 41 } |
| 42 | 42 |
| 43 | 43 |
| 44 const char* NameConverter::NameOfAddress(unsigned char* addr) const { | 44 const char* NameConverter::NameOfAddress(unsigned char* addr) const { |
| 45 UNIMPLEMENTED(); | 45 UNIMPLEMENTED(); |
| 46 return NULL; | 46 return NULL; |
| 47 } | 47 } |
| 48 | 48 |
| 49 | 49 |
| 50 const char* NameConverter::NameOfCPURegister(int reg) const { | 50 const char* NameConverter::NameOfCPURegister(int reg) const { |
| 51 UNIMPLEMENTED(); | 51 UNIMPLEMENTED(); |
| 52 return NULL; | 52 return NULL; |
| 53 } | 53 } |
| 54 | 54 |
| 55 | 55 |
| 56 int Disassembler::ConstantPoolSizeAt(unsigned char* addr) { | 56 int Disassembler::ConstantPoolSizeAt(unsigned char* addr) { |
| 57 UNIMPLEMENTED(); | 57 UNIMPLEMENTED(); |
| 58 return 0; | 58 return 0; |
| 59 } | 59 } |
| 60 | 60 |
| 61 | 61 |
| 62 int Disassembler::InstructionDecode(v8::internal::Vector<char> buffer, | 62 int Disassembler::InstructionDecode(v8::internal::Vector<char> buffer, |
| 63 unsigned char* instruction) { | 63 unsigned char* instruction) { |
| 64 UNIMPLEMENTED(); | 64 UNIMPLEMENTED(); |
| 65 return 0; | 65 return 0; |
| 66 } | 66 } |
| 67 | 67 |
| 68 const char* NameConverter::NameOfByteCPURegister(int a) const { |
| 69 UNIMPLEMENTED(); |
| 70 return NULL; |
| 71 } |
| 72 |
| 73 const char* NameConverter::NameOfXMMRegister(int a) const { |
| 74 UNIMPLEMENTED(); |
| 75 return NULL; |
| 76 } |
| 77 |
| 78 const char* NameConverter::NameOfConstant(unsigned char* a) const { |
| 79 UNIMPLEMENTED(); |
| 80 return NULL; |
| 81 } |
| 82 |
| 83 const char* NameConverter::NameInCode(unsigned char* a) const { |
| 84 UNIMPLEMENTED(); |
| 85 return NULL; |
| 86 } |
| 68 | 87 |
| 69 } // namespace disasm | 88 } // namespace disasm |
| OLD | NEW |