OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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/contexts.h" | 5 #include "src/contexts.h" |
6 | 6 |
7 #include "src/ast/scopeinfo.h" | |
8 #include "src/bootstrapper.h" | 7 #include "src/bootstrapper.h" |
9 #include "src/debug/debug.h" | 8 #include "src/debug/debug.h" |
10 #include "src/isolate-inl.h" | 9 #include "src/isolate-inl.h" |
11 | 10 |
12 namespace v8 { | 11 namespace v8 { |
13 namespace internal { | 12 namespace internal { |
14 | 13 |
15 | 14 |
16 Handle<ScriptContextTable> ScriptContextTable::Extend( | 15 Handle<ScriptContextTable> ScriptContextTable::Extend( |
17 Handle<ScriptContextTable> table, Handle<Context> script_context) { | 16 Handle<ScriptContextTable> table, Handle<Context> script_context) { |
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
610 | 609 |
611 int previous_value = errors_thrown()->value(); | 610 int previous_value = errors_thrown()->value(); |
612 set_errors_thrown(Smi::FromInt(previous_value + 1)); | 611 set_errors_thrown(Smi::FromInt(previous_value + 1)); |
613 } | 612 } |
614 | 613 |
615 | 614 |
616 int Context::GetErrorsThrown() { return errors_thrown()->value(); } | 615 int Context::GetErrorsThrown() { return errors_thrown()->value(); } |
617 | 616 |
618 } // namespace internal | 617 } // namespace internal |
619 } // namespace v8 | 618 } // namespace v8 |
OLD | NEW |