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

Side by Side Diff: src/compiler/js-native-context-specialization.cc

Issue 1406113007: Merge GlobalObject with JSGlobalObject. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/compiler/js-native-context-specialization.h ('k') | src/compiler/js-typed-lowering.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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/compiler/js-native-context-specialization.h" 5 #include "src/compiler/js-native-context-specialization.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/code-factory.h" 8 #include "src/code-factory.h"
9 #include "src/compilation-dependencies.h" 9 #include "src/compilation-dependencies.h"
10 #include "src/compiler/access-builder.h" 10 #include "src/compiler/access-builder.h"
(...skipping 14 matching lines...) Expand all
25 25
26 struct JSNativeContextSpecialization::ScriptContextTableLookupResult { 26 struct JSNativeContextSpecialization::ScriptContextTableLookupResult {
27 Handle<Context> context; 27 Handle<Context> context;
28 bool immutable; 28 bool immutable;
29 int index; 29 int index;
30 }; 30 };
31 31
32 32
33 JSNativeContextSpecialization::JSNativeContextSpecialization( 33 JSNativeContextSpecialization::JSNativeContextSpecialization(
34 Editor* editor, JSGraph* jsgraph, Flags flags, 34 Editor* editor, JSGraph* jsgraph, Flags flags,
35 Handle<GlobalObject> global_object, CompilationDependencies* dependencies, 35 Handle<JSGlobalObject> global_object, CompilationDependencies* dependencies,
36 Zone* zone) 36 Zone* zone)
37 : AdvancedReducer(editor), 37 : AdvancedReducer(editor),
38 jsgraph_(jsgraph), 38 jsgraph_(jsgraph),
39 flags_(flags), 39 flags_(flags),
40 global_object_(global_object), 40 global_object_(global_object),
41 native_context_(global_object->native_context(), isolate()), 41 native_context_(global_object->native_context(), isolate()),
42 dependencies_(dependencies), 42 dependencies_(dependencies),
43 zone_(zone), 43 zone_(zone),
44 type_cache_(TypeCache::Get()), 44 type_cache_(TypeCache::Get()),
45 access_info_factory_(dependencies, native_context(), graph()->zone()) {} 45 access_info_factory_(dependencies, native_context(), graph()->zone()) {}
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 } 824 }
825 825
826 826
827 SimplifiedOperatorBuilder* JSNativeContextSpecialization::simplified() const { 827 SimplifiedOperatorBuilder* JSNativeContextSpecialization::simplified() const {
828 return jsgraph()->simplified(); 828 return jsgraph()->simplified();
829 } 829 }
830 830
831 } // namespace compiler 831 } // namespace compiler
832 } // namespace internal 832 } // namespace internal
833 } // namespace v8 833 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-native-context-specialization.h ('k') | src/compiler/js-typed-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698