Revision: 15474
Author: [email protected]
Date: Wed Jul 3 07:58:27 2013
Log: Fix GDBJIT compilation on Mac after r15467.
[email protected]
Review URL: https://codereview.chromium.org/18259007
http://code.google.com/p/v8/source/detail?r=15474
Modified:
/branches/bleeding_edge/src/gdb-jit.cc
=======================================
--- /branches/bleeding_edge/src/gdb-jit.cc Wed Jul 3 07:21:21 2013
+++ /branches/bleeding_edge/src/gdb-jit.cc Wed Jul 3 07:58:27 2013
@@ -1919,14 +1919,15 @@
static JITCodeEntry* CreateELFObject(CodeDescription* desc, Isolate*
isolate) {
#ifdef __MACH_O
- MachO mach_o(zone);
+ Zone zone(isolate);
+ MachO mach_o(&zone);
Writer w(&mach_o);
- mach_o.AddSection(new(zone) MachOTextSection(kCodeAlignment,
- desc->CodeStart(),
- desc->CodeSize()));
+ mach_o.AddSection(new(&zone) MachOTextSection(kCodeAlignment,
+ desc->CodeStart(),
+ desc->CodeSize()));
- CreateDWARFSections(desc, zone, &mach_o);
+ CreateDWARFSections(desc, &zone, &mach_o);
mach_o.Write(&w, desc->CodeStart(), desc->CodeSize());
#else
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.