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

Side by Side Diff: src/contexts.cc

Issue 2197973002: Move ContextSlotCache to its own 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 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
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
OLDNEW
« src/ast/scopeinfo.h ('K') | « src/compiler.cc ('k') | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698