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

Side by Side Diff: test/unittests/compiler-dispatcher/compiler-dispatcher-job-unittest.cc

Issue 2312683002: Include only stuff you need, part 7: Fix scopes.h -> ast.h. (Closed)
Patch Set: Created 4 years, 3 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 | « src/parsing/parser-base.h ('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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <memory> 5 #include <memory>
6 6
7 #include "include/v8.h" 7 #include "include/v8.h"
8 #include "src/api.h" 8 #include "src/api.h"
9 #include "src/ast/ast.h"
9 #include "src/ast/scopes.h" 10 #include "src/ast/scopes.h"
10 #include "src/compiler-dispatcher/compiler-dispatcher-job.h" 11 #include "src/compiler-dispatcher/compiler-dispatcher-job.h"
11 #include "src/flags.h" 12 #include "src/flags.h"
12 #include "src/isolate-inl.h" 13 #include "src/isolate-inl.h"
13 #include "src/parsing/parse-info.h" 14 #include "src/parsing/parse-info.h"
14 #include "test/unittests/test-utils.h" 15 #include "test/unittests/test-utils.h"
15 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
16 17
17 namespace v8 { 18 namespace v8 {
18 namespace internal { 19 namespace internal {
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 ASSERT_TRUE(job->status() == CompileJobStatus::kFailed); 233 ASSERT_TRUE(job->status() == CompileJobStatus::kFailed);
233 ASSERT_TRUE(i_isolate()->has_pending_exception()); 234 ASSERT_TRUE(i_isolate()->has_pending_exception());
234 235
235 i_isolate()->clear_pending_exception(); 236 i_isolate()->clear_pending_exception();
236 job->ResetOnMainThread(); 237 job->ResetOnMainThread();
237 ASSERT_TRUE(job->status() == CompileJobStatus::kInitial); 238 ASSERT_TRUE(job->status() == CompileJobStatus::kInitial);
238 } 239 }
239 240
240 } // namespace internal 241 } // namespace internal
241 } // namespace v8 242 } // namespace v8
OLDNEW
« no previous file with comments | « src/parsing/parser-base.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698