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

Side by Side Diff: test/cctest/heap/test-heap.cc

Issue 1671623005: [turbofan] Deprecate --turbo-try-finally flag. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Also enable test. Created 4 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
« no previous file with comments | « test/cctest/compiler/test-run-jsexceptions.cc ('k') | no next file » | 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 6239 matching lines...) Expand 10 before | Expand all | Expand 10 after
6250 " throw 'message 2';" 6250 " throw 'message 2';"
6251 "} finally {" 6251 "} finally {"
6252 " break L;" 6252 " break L;"
6253 "}" 6253 "}"
6254 "check();"; 6254 "check();";
6255 CompileRun(test); 6255 CompileRun(test);
6256 6256
6257 const char* flag = "--turbo-filter=*"; 6257 const char* flag = "--turbo-filter=*";
6258 FlagList::SetFlagsFromString(flag, StrLength(flag)); 6258 FlagList::SetFlagsFromString(flag, StrLength(flag));
6259 FLAG_always_opt = true; 6259 FLAG_always_opt = true;
6260 FLAG_turbo_try_finally = true;
6261 6260
6262 CompileRun(test); 6261 CompileRun(test);
6263 } 6262 }
6264 6263
6265 6264
6266 static void CheckEqualSharedFunctionInfos( 6265 static void CheckEqualSharedFunctionInfos(
6267 const v8::FunctionCallbackInfo<v8::Value>& args) { 6266 const v8::FunctionCallbackInfo<v8::Value>& args) {
6268 Handle<Object> obj1 = v8::Utils::OpenHandle(*args[0]); 6267 Handle<Object> obj1 = v8::Utils::OpenHandle(*args[0]);
6269 Handle<Object> obj2 = v8::Utils::OpenHandle(*args[1]); 6268 Handle<Object> obj2 = v8::Utils::OpenHandle(*args[1]);
6270 Handle<JSFunction> fun1 = Handle<JSFunction>::cast(obj1); 6269 Handle<JSFunction> fun1 = Handle<JSFunction>::cast(obj1);
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
6491 isolate->IncrementJsCallsFromApiCounter(); 6490 isolate->IncrementJsCallsFromApiCounter();
6492 isolate->IncrementJsCallsFromApiCounter(); 6491 isolate->IncrementJsCallsFromApiCounter();
6493 isolate->IncrementJsCallsFromApiCounter(); 6492 isolate->IncrementJsCallsFromApiCounter();
6494 calls_per_ms = memory_reducer->SampleAndGetJsCallsPerMs(4); 6493 calls_per_ms = memory_reducer->SampleAndGetJsCallsPerMs(4);
6495 CheckDoubleEquals(2, calls_per_ms); 6494 CheckDoubleEquals(2, calls_per_ms);
6496 } 6495 }
6497 6496
6498 6497
6499 } // namespace internal 6498 } // namespace internal
6500 } // namespace v8 6499 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-run-jsexceptions.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698