Bug 756227: Fix TreeContext warnings. r=nnethercote.

--HG--
extra : rebase_source : c6ab31cfd64ebecb4a8bd4069d03fc2f41d3203b
This commit is contained in:
David Zbarsky 2012-05-17 18:29:30 -07:00
parent 7e7271851f
commit aae99ea660

View File

@ -61,8 +61,8 @@ struct StmtInfo;
class ContextFlags {
// This class's data is all private and so only visible to these friends.
friend class SharedContext;
friend class FunctionBox;
friend struct SharedContext;
friend struct FunctionBox;
// This function/global/eval code body contained a Use Strict Directive.
// Treat certain strict warnings as errors, and forbid the use of 'with'.