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

Unified Diff: src/arm/assembler-arm-inl.h

Issue 651029: Forking disassembler and simulator for Thumb2 support; (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 9 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 | « src/arm/assembler-arm.h ('k') | src/arm/assembler-thumb2.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm/assembler-arm-inl.h
===================================================================
--- src/arm/assembler-arm-inl.h (revision 4001)
+++ src/arm/assembler-arm-inl.h (working copy)
@@ -214,6 +214,13 @@
}
+void Assembler::emit_int32(int32_t x) {
+ CheckBuffer();
+ *reinterpret_cast<int32_t*>(pc_) = x;
+ pc_ += sizeof(int32_t);
+}
+
+
Address Assembler::target_address_address_at(Address pc) {
Address target_pc = pc;
Instr instr = Memory::int32_at(target_pc);
« no previous file with comments | « src/arm/assembler-arm.h ('k') | src/arm/assembler-thumb2.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698