Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Side by Side Diff: src/runtime.h

Issue 101733002: Fixed global object leak (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: spacing Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 F(DateSetValue, 3, 1) \ 268 F(DateSetValue, 3, 1) \
269 \ 269 \
270 /* Numbers */ \ 270 /* Numbers */ \
271 \ 271 \
272 /* Globals */ \ 272 /* Globals */ \
273 F(CompileString, 2, 1) \ 273 F(CompileString, 2, 1) \
274 F(GlobalPrint, 1, 1) \ 274 F(GlobalPrint, 1, 1) \
275 \ 275 \
276 /* Eval */ \ 276 /* Eval */ \
277 F(GlobalReceiver, 1, 1) \ 277 F(GlobalReceiver, 1, 1) \
278 F(IsAttachedGlobal, 1, 1) \
278 F(ResolvePossiblyDirectEval, 5, 2) \ 279 F(ResolvePossiblyDirectEval, 5, 2) \
279 \ 280 \
280 F(SetProperty, -1 /* 4 or 5 */, 1) \ 281 F(SetProperty, -1 /* 4 or 5 */, 1) \
281 F(DefineOrRedefineDataProperty, 4, 1) \ 282 F(DefineOrRedefineDataProperty, 4, 1) \
282 F(DefineOrRedefineAccessorProperty, 5, 1) \ 283 F(DefineOrRedefineAccessorProperty, 5, 1) \
283 F(IgnoreAttributesAndSetProperty, -1 /* 3 or 4 */, 1) \ 284 F(IgnoreAttributesAndSetProperty, -1 /* 3 or 4 */, 1) \
284 F(GetDataProperty, 2, 1) \ 285 F(GetDataProperty, 2, 1) \
285 \ 286 \
286 /* Arrays */ \ 287 /* Arrays */ \
287 F(RemoveArrayHoles, 2, 1) \ 288 F(RemoveArrayHoles, 2, 1) \
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
863 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 864 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
864 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 865 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
865 866
866 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 867 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
867 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 868 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
868 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 869 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
869 870
870 } } // namespace v8::internal 871 } } // namespace v8::internal
871 872
872 #endif // V8_RUNTIME_H_ 873 #endif // V8_RUNTIME_H_
OLDNEW
« src/api.cc ('K') | « src/objects-inl.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698