X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/f9bf01c6616d5ddcf65b13b33cedf9e387ff7a63..14957cd040308e3eeec43d26bae5d76da13fcd85:/parser/ParserArena.cpp diff --git a/parser/ParserArena.cpp b/parser/ParserArena.cpp index a8e8159..9c96de7 100644 --- a/parser/ParserArena.cpp +++ b/parser/ParserArena.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009 Apple Inc. All rights reserved. + * Copyright (C) 2009, 2010 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -27,13 +27,14 @@ #include "ParserArena.h" #include "Nodes.h" +#include namespace JSC { ParserArena::ParserArena() : m_freeableMemory(0) , m_freeablePoolEnd(0) - , m_identifierArena(new IdentifierArena) + , m_identifierArena(adoptPtr(new IdentifierArena)) { }