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

Side by Side Diff: src/runtime.h

Issue 11971015: Skip stack trace formatting in case the global object is already dead. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix leaks in the setter. Created 7 years, 11 months 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
« no previous file with comments | « src/messages.js ('k') | src/runtime.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 // this problem. Please avoid large recursive macros whenever possible. 46 // this problem. Please avoid large recursive macros whenever possible.
47 #define RUNTIME_FUNCTION_LIST_ALWAYS_1(F) \ 47 #define RUNTIME_FUNCTION_LIST_ALWAYS_1(F) \
48 /* Property access */ \ 48 /* Property access */ \
49 F(GetProperty, 2, 1) \ 49 F(GetProperty, 2, 1) \
50 F(KeyedGetProperty, 2, 1) \ 50 F(KeyedGetProperty, 2, 1) \
51 F(DeleteProperty, 3, 1) \ 51 F(DeleteProperty, 3, 1) \
52 F(HasLocalProperty, 2, 1) \ 52 F(HasLocalProperty, 2, 1) \
53 F(HasProperty, 2, 1) \ 53 F(HasProperty, 2, 1) \
54 F(HasElement, 2, 1) \ 54 F(HasElement, 2, 1) \
55 F(IsPropertyEnumerable, 2, 1) \ 55 F(IsPropertyEnumerable, 2, 1) \
56 F(GetPropertyNames, 1, 1) \ 56 F(GetPropertyNamesNoSideEffect, 1, 1) \
57 F(GetPropertyNamesFast, 1, 1) \ 57 F(GetPropertyNamesFast, 1, 1) \
58 F(GetLocalPropertyNames, 1, 1) \ 58 F(GetLocalPropertyNames, 1, 1) \
59 F(GetLocalElementNames, 1, 1) \ 59 F(GetLocalElementNames, 1, 1) \
60 F(GetInterceptorInfo, 1, 1) \ 60 F(GetInterceptorInfo, 1, 1) \
61 F(GetNamedInterceptorPropertyNames, 1, 1) \ 61 F(GetNamedInterceptorPropertyNames, 1, 1) \
62 F(GetIndexedInterceptorElementNames, 1, 1) \ 62 F(GetIndexedInterceptorElementNames, 1, 1) \
63 F(GetArgumentsProperty, 1, 1) \ 63 F(GetArgumentsProperty, 1, 1) \
64 F(ToFastProperties, 1, 1) \ 64 F(ToFastProperties, 1, 1) \
65 F(FinishArrayPrototypeSetup, 1, 1) \ 65 F(FinishArrayPrototypeSetup, 1, 1) \
66 F(SpecialArrayFunctions, 1, 1) \ 66 F(SpecialArrayFunctions, 1, 1) \
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 F(FunctionRemovePrototype, 1, 1) \ 232 F(FunctionRemovePrototype, 1, 1) \
233 F(FunctionGetSourceCode, 1, 1) \ 233 F(FunctionGetSourceCode, 1, 1) \
234 F(FunctionGetScript, 1, 1) \ 234 F(FunctionGetScript, 1, 1) \
235 F(FunctionGetScriptSourcePosition, 1, 1) \ 235 F(FunctionGetScriptSourcePosition, 1, 1) \
236 F(FunctionGetPositionForOffset, 2, 1) \ 236 F(FunctionGetPositionForOffset, 2, 1) \
237 F(FunctionIsAPIFunction, 1, 1) \ 237 F(FunctionIsAPIFunction, 1, 1) \
238 F(FunctionIsBuiltin, 1, 1) \ 238 F(FunctionIsBuiltin, 1, 1) \
239 F(GetScript, 1, 1) \ 239 F(GetScript, 1, 1) \
240 F(CollectStackTrace, 3, 1) \ 240 F(CollectStackTrace, 3, 1) \
241 F(MarkOneShotGetter, 1, 1) \ 241 F(MarkOneShotGetter, 1, 1) \
242 F(GetOverflowedStackTrace, 1, 1) \ 242 F(GetOverflowStackTrace, 1, 1) \
243 F(SetOverflowedStackTrace, 2, 1) \ 243 F(SetOverflowStackTrace, 2, 1) \
244 F(GetV8Version, 0, 1) \ 244 F(GetV8Version, 0, 1) \
245 \ 245 \
246 F(ClassOf, 1, 1) \ 246 F(ClassOf, 1, 1) \
247 F(SetCode, 2, 1) \ 247 F(SetCode, 2, 1) \
248 F(SetExpectedNumberOfProperties, 2, 1) \ 248 F(SetExpectedNumberOfProperties, 2, 1) \
249 \ 249 \
250 F(CreateApiFunction, 1, 1) \ 250 F(CreateApiFunction, 1, 1) \
251 F(IsTemplate, 1, 1) \ 251 F(IsTemplate, 1, 1) \
252 F(GetTemplateField, 2, 1) \ 252 F(GetTemplateField, 2, 1) \
253 F(DisableAccessChecks, 1, 1) \ 253 F(DisableAccessChecks, 1, 1) \
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 //--------------------------------------------------------------------------- 711 //---------------------------------------------------------------------------
712 // Constants used by interface to runtime functions. 712 // Constants used by interface to runtime functions.
713 713
714 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 714 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
715 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 715 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
716 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 716 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
717 717
718 } } // namespace v8::internal 718 } } // namespace v8::internal
719 719
720 #endif // V8_RUNTIME_H_ 720 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/messages.js ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698