OLD | NEW |
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 6336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6347 " throw 'message 2';" | 6347 " throw 'message 2';" |
6348 "} finally {" | 6348 "} finally {" |
6349 " break L;" | 6349 " break L;" |
6350 "}" | 6350 "}" |
6351 "check();"; | 6351 "check();"; |
6352 CompileRun(test); | 6352 CompileRun(test); |
6353 | 6353 |
6354 const char* flag = "--turbo-filter=*"; | 6354 const char* flag = "--turbo-filter=*"; |
6355 FlagList::SetFlagsFromString(flag, StrLength(flag)); | 6355 FlagList::SetFlagsFromString(flag, StrLength(flag)); |
6356 FLAG_always_opt = true; | 6356 FLAG_always_opt = true; |
6357 FLAG_turbo_try_catch = true; | |
6358 FLAG_turbo_try_finally = true; | 6357 FLAG_turbo_try_finally = true; |
6359 | 6358 |
6360 CompileRun(test); | 6359 CompileRun(test); |
6361 } | 6360 } |
6362 | 6361 |
6363 | 6362 |
6364 static void CheckEqualSharedFunctionInfos( | 6363 static void CheckEqualSharedFunctionInfos( |
6365 const v8::FunctionCallbackInfo<v8::Value>& args) { | 6364 const v8::FunctionCallbackInfo<v8::Value>& args) { |
6366 Handle<Object> obj1 = v8::Utils::OpenHandle(*args[0]); | 6365 Handle<Object> obj1 = v8::Utils::OpenHandle(*args[0]); |
6367 Handle<Object> obj2 = v8::Utils::OpenHandle(*args[1]); | 6366 Handle<Object> obj2 = v8::Utils::OpenHandle(*args[1]); |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6693 // The CollectGarbage call above starts sweeper threads. | 6692 // The CollectGarbage call above starts sweeper threads. |
6694 // The crash will happen if the following two functions | 6693 // The crash will happen if the following two functions |
6695 // are called before sweeping finishes. | 6694 // are called before sweeping finishes. |
6696 heap->StartIncrementalMarking(); | 6695 heap->StartIncrementalMarking(); |
6697 heap->FinalizeIncrementalMarkingIfComplete("test"); | 6696 heap->FinalizeIncrementalMarkingIfComplete("test"); |
6698 } | 6697 } |
6699 | 6698 |
6700 | 6699 |
6701 } // namespace internal | 6700 } // namespace internal |
6702 } // namespace v8 | 6701 } // namespace v8 |
OLD | NEW |