Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Unified Diff: src/x64/disasm-x64.cc

Issue 113261: X64: Added stubs for unimplemented disassembler functions. (Closed)
Patch Set: Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/x64/disasm-x64.cc
diff --git a/src/x64/disasm-x64.cc b/src/x64/disasm-x64.cc
index 209aa2d3070e48da7890e9457e64fe4718cfd782..89d1d861ec545f3c70c837906e7493d70c72f2f5 100644
--- a/src/x64/disasm-x64.cc
+++ b/src/x64/disasm-x64.cc
@@ -25,3 +25,38 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#include "v8.h"
+#include "disasm.h"
+
+namespace disasm {
+
+ Disassembler::Disassembler(NameConverter const& converter)
+ : converter_(converter) {
+ UNIMPLEMENTED();
+ }
+
+ const char* NameConverter::NameOfAddress(unsigned char* addr) const {
+ UNIMPLEMENTED();
+ return NULL;
+ }
+
+ const char* NameConverter::NameOfCPURegister(int reg) const {
+ UNIMPLEMENTED();
+ return NULL;
+ }
+
+ int Disassembler::ConstantPoolSizeAt(unsigned char* addr) {
+ UNIMPLEMENTED();
+ return 0;
+ }
+
+ int Disassembler::InstructionDecode(v8::internal::Vector<char> buffer,
+ unsigned char* instruction) {
+ UNIMPLEMENTED();
+ return 0;
+ }
+
+ Disassembler::~Disassembler() {}
Dean McNamee 2009/05/12 12:59:46 put this w/ the constructor.
+
+
+} // end namespace disasm
Dean McNamee 2009/05/12 12:59:46 I think you just mean "// namespace disasm"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698