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

Side by Side Diff: src/runtime.h

Issue 9310122: When rethrowing an exception, print the stack trace of its original site instead of rethrow site. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: . Created 8 years, 10 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
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 F(FunctionBindArguments, 4, 1) \ 222 F(FunctionBindArguments, 4, 1) \
223 F(BoundFunctionGetBindings, 1, 1) \ 223 F(BoundFunctionGetBindings, 1, 1) \
224 F(FunctionRemovePrototype, 1, 1) \ 224 F(FunctionRemovePrototype, 1, 1) \
225 F(FunctionGetSourceCode, 1, 1) \ 225 F(FunctionGetSourceCode, 1, 1) \
226 F(FunctionGetScript, 1, 1) \ 226 F(FunctionGetScript, 1, 1) \
227 F(FunctionGetScriptSourcePosition, 1, 1) \ 227 F(FunctionGetScriptSourcePosition, 1, 1) \
228 F(FunctionGetPositionForOffset, 2, 1) \ 228 F(FunctionGetPositionForOffset, 2, 1) \
229 F(FunctionIsAPIFunction, 1, 1) \ 229 F(FunctionIsAPIFunction, 1, 1) \
230 F(FunctionIsBuiltin, 1, 1) \ 230 F(FunctionIsBuiltin, 1, 1) \
231 F(GetScript, 1, 1) \ 231 F(GetScript, 1, 1) \
232 F(CollectStackTrace, 2, 1) \ 232 F(CollectStackTrace, 3, 1) \
233 F(GetV8Version, 0, 1) \ 233 F(GetV8Version, 0, 1) \
234 \ 234 \
235 F(ClassOf, 1, 1) \ 235 F(ClassOf, 1, 1) \
236 F(SetCode, 2, 1) \ 236 F(SetCode, 2, 1) \
237 F(SetExpectedNumberOfProperties, 2, 1) \ 237 F(SetExpectedNumberOfProperties, 2, 1) \
238 \ 238 \
239 F(CreateApiFunction, 1, 1) \ 239 F(CreateApiFunction, 1, 1) \
240 F(IsTemplate, 1, 1) \ 240 F(IsTemplate, 1, 1) \
241 F(GetTemplateField, 2, 1) \ 241 F(GetTemplateField, 2, 1) \
242 F(DisableAccessChecks, 1, 1) \ 242 F(DisableAccessChecks, 1, 1) \
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 //--------------------------------------------------------------------------- 698 //---------------------------------------------------------------------------
699 // Constants used by interface to runtime functions. 699 // Constants used by interface to runtime functions.
700 700
701 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 701 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
702 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 702 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
703 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 703 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
704 704
705 } } // namespace v8::internal 705 } } // namespace v8::internal
706 706
707 #endif // V8_RUNTIME_H_ 707 #endif // V8_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698