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

Unified Diff: test/cctest/test-disasm-a64.cc

Issue 153773002: A64: Synchronize with r16679. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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 | « test/cctest/test-dictionary.cc ('k') | test/cctest/test-heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-disasm-a64.cc
diff --git a/test/cctest/test-disasm-a64.cc b/test/cctest/test-disasm-a64.cc
index a00730db157346749e9ca24a3de31258d4271c6a..8b0351ae37d1124cd1bda8df235fd40f835c81e1 100644
--- a/test/cctest/test-disasm-a64.cc
+++ b/test/cctest/test-disasm-a64.cc
@@ -45,10 +45,11 @@ using namespace v8::internal;
#define INSTR_SIZE (1024)
#define SET_UP_CLASS(ASMCLASS) \
InitializeVM(); \
- v8::HandleScope scope; \
+ Isolate* isolate = Isolate::Current(); \
+ HandleScope scope(isolate); \
byte* buf = static_cast<byte*>(malloc(INSTR_SIZE)); \
uint32_t encoding = 0; \
- ASMCLASS* assm = new ASMCLASS(Isolate::Current(), buf, INSTR_SIZE); \
+ ASMCLASS* assm = new ASMCLASS(isolate, buf, INSTR_SIZE); \
Decoder* decoder = new Decoder(); \
Disassembler* disasm = new Disassembler(); \
decoder->AppendVisitor(disasm)
« no previous file with comments | « test/cctest/test-dictionary.cc ('k') | test/cctest/test-heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698