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

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

Issue 2268513002: Cleanup: Move ParseInfo to a separate file. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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
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/scopes.h" 9 #include "src/ast/scopes.h"
10 #include "src/compiler-dispatcher/compiler-dispatcher-job.h" 10 #include "src/compiler-dispatcher/compiler-dispatcher-job.h"
11 #include "src/flags.h" 11 #include "src/flags.h"
12 #include "src/isolate-inl.h" 12 #include "src/isolate-inl.h"
13 #include "src/parsing/parser.h" 13 #include "src/parsing/parse-info.h"
14 #include "test/unittests/test-utils.h" 14 #include "test/unittests/test-utils.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 namespace v8 { 17 namespace v8 {
18 namespace internal { 18 namespace internal {
19 19
20 typedef TestWithContext CompilerDispatcherJobTest; 20 typedef TestWithContext CompilerDispatcherJobTest;
21 21
22 namespace { 22 namespace {
23 23
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 var = job->parse_info_->literal()->scope()->Lookup(var_g); 147 var = job->parse_info_->literal()->scope()->Lookup(var_g);
148 ASSERT_TRUE(var); 148 ASSERT_TRUE(var);
149 ASSERT_TRUE(var->IsContextSlot()); 149 ASSERT_TRUE(var->IsContextSlot());
150 150
151 job->ResetOnMainThread(); 151 job->ResetOnMainThread();
152 ASSERT_TRUE(job->status() == CompileJobStatus::kInitial); 152 ASSERT_TRUE(job->status() == CompileJobStatus::kInitial);
153 } 153 }
154 154
155 } // namespace internal 155 } // namespace internal
156 } // namespace v8 156 } // namespace v8
OLDNEW
« src/parsing/parse-info.cc ('K') | « test/fuzzer/parser.cc ('k') | tools/parser-shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698