[test] Fix inlining test for CpuProfiler.
When running this test locally, the OptimizeFunctionOnNextCall call fails, because the line above has no semicolon, and automatic insertion doesn't help, probably because of the % sign. The test still runs, but the first call after level1() fails, meaning the inlining does not happen. Change-Id: Icd2d08e676ea3cade63d4e12277748a447e410fc Reviewed-on: https://chromium-review.googlesource.com/1030210 Reviewed-by: Camillo Bruni <cbruni@chromium.org> Commit-Queue: Peter Marshall <petermarshall@chromium.org> Cr-Commit-Position: refs/heads/master@{#52808}
This commit is contained in:
parent
48d508cb45
commit
6b454aff37
@ -1568,7 +1568,7 @@ TEST(JsNativeJsRuntimeJsSampleMultiple) {
|
||||
static const char* inlining_test_source =
|
||||
"%NeverOptimizeFunction(action);\n"
|
||||
"%NeverOptimizeFunction(start);\n"
|
||||
"level1()\n"
|
||||
"level1();\n"
|
||||
"%OptimizeFunctionOnNextCall(level1);\n"
|
||||
"%OptimizeFunctionOnNextCall(level2);\n"
|
||||
"%OptimizeFunctionOnNextCall(level3);\n"
|
||||
|
Loading…
Reference in New Issue
Block a user