Bug 1264661 - remove EMIT_LOGGING_CODE constant from IPDL compiler; r=jld
authorNathan Froyd <froydnj.com>
Thu, 14 Apr 2016 14:58:17 -0400
changeset 293314 b6ab9982be5af1c6e5c3d68288880cd105cc6209
parent 293313 7dd74bf4952716714a380d4f37215fea3c4c2d5c
child 293315 fb9b550b88bf28d2eb6e6c717d91a2b70e3ba921
push id18749
push usercbook@mozilla.com
push dateFri, 15 Apr 2016 12:01:19 +0000
treeherderfx-team@8f7045b63b07 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
Bug 1264661 - remove EMIT_LOGGING_CODE constant from IPDL compiler; r=jld It's not needed anymore (hasn't been for a while, apparently).
--- a/ipc/ipdl/ipdl/lower.py
+++ b/ipc/ipdl/ipdl/lower.py
@@ -6,22 +6,16 @@ import os, re, sys
 from copy import deepcopy
 from collections import OrderedDict
 import ipdl.ast
 import ipdl.builtin
 from ipdl.cxx.ast import *
 from ipdl.type import Actor, ActorType, ProcessGraph, TypeVisitor, builtinHeaderIncludes
-# FIXME/cjones: the chromium Message logging code doesn't work on
-# gcc/POSIX, because it wprintf()s across the chromium/mozilla
-# boundary. one side builds with -fshort-wchar, the other doesn't.
-# this code will remain off until the chromium base lib is replaced
-EMIT_LOGGING_CODE = ('win32' == sys.platform)
 ## "Public" interface to lowering
 class LowerToCxx:
     def lower(self, tu):
         '''returns |[ header: File ], [ cpp : File ]| representing the
 lowered form of |tu|'''
         # annotate the AST with IPDL/C++ IR-type stuff used later