Reviewers: Mads Ager,

Description:
Fix d8 build error on a fresh checkout.


Please review this at http://codereview.chromium.org/2809069/show

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     tools/js2c.py


Index: tools/js2c.py
===================================================================
--- tools/js2c.py       (revision 5117)
+++ tools/js2c.py       (working copy)
@@ -275,8 +275,8 @@
   debugger_ids = []
   modules = []
   # Locate the macros file name.
-  consts = {}
-  macros = {}
+  consts = []
+  macros = []
   for s in source:
     if 'macros.py' == (os.path.split(str(s))[1]):
       (consts, macros) = ReadMacros(ReadLines(str(s)))


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to