OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/compiler.h" | 7 #include "src/compiler.h" |
8 | 8 |
9 #include "src/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
11 #include "src/compilation-cache.h" | 11 #include "src/compilation-cache.h" |
12 #include "src/cpu-profiler.h" | 12 #include "src/cpu-profiler.h" |
13 #include "src/debug.h" | 13 #include "src/debug.h" |
14 #include "src/deoptimizer.h" | 14 #include "src/deoptimizer.h" |
15 #include "src/full-codegen.h" | 15 #include "src/full-codegen.h" |
16 #include "src/gdb-jit.h" | 16 #include "src/gdb-jit.h" |
17 #include "src/typing.h" | |
18 #include "src/hydrogen.h" | 17 #include "src/hydrogen.h" |
19 #include "src/isolate-inl.h" | 18 #include "src/isolate-inl.h" |
20 #include "src/lithium.h" | 19 #include "src/lithium.h" |
21 #include "src/liveedit.h" | 20 #include "src/liveedit.h" |
22 #include "src/parser.h" | 21 #include "src/parser.h" |
23 #include "src/rewriter.h" | 22 #include "src/rewriter.h" |
24 #include "src/runtime-profiler.h" | 23 #include "src/runtime-profiler.h" |
25 #include "src/scanner-character-streams.h" | 24 #include "src/scanner-character-streams.h" |
26 #include "src/scopeinfo.h" | 25 #include "src/scopeinfo.h" |
27 #include "src/scopes.h" | 26 #include "src/scopes.h" |
| 27 #include "src/typing.h" |
28 #include "src/vm-state-inl.h" | 28 #include "src/vm-state-inl.h" |
29 | 29 |
30 namespace v8 { | 30 namespace v8 { |
31 namespace internal { | 31 namespace internal { |
32 | 32 |
33 | 33 |
34 CompilationInfo::CompilationInfo(Handle<Script> script, | 34 CompilationInfo::CompilationInfo(Handle<Script> script, |
35 Zone* zone) | 35 Zone* zone) |
36 : flags_(StrictModeField::encode(SLOPPY)), | 36 : flags_(StrictModeField::encode(SLOPPY)), |
37 script_(script), | 37 script_(script), |
(...skipping 1258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1296 AllowHandleDereference allow_deref; | 1296 AllowHandleDereference allow_deref; |
1297 bool tracing_on = info()->IsStub() | 1297 bool tracing_on = info()->IsStub() |
1298 ? FLAG_trace_hydrogen_stubs | 1298 ? FLAG_trace_hydrogen_stubs |
1299 : (FLAG_trace_hydrogen && | 1299 : (FLAG_trace_hydrogen && |
1300 info()->closure()->PassesFilter(FLAG_trace_hydrogen_filter)); | 1300 info()->closure()->PassesFilter(FLAG_trace_hydrogen_filter)); |
1301 return (tracing_on && | 1301 return (tracing_on && |
1302 OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL); | 1302 OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL); |
1303 } | 1303 } |
1304 | 1304 |
1305 } } // namespace v8::internal | 1305 } } // namespace v8::internal |
OLD | NEW |