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

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

Issue 1427913003: [turbofan] Add support for loading missing properties. (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 | « no previous file | src/compiler/js-native-context-specialization.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 #ifndef V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_ 5 #ifndef V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_
6 #define V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_ 6 #define V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/compiler/graph-reducer.h" 9 #include "src/compiler/graph-reducer.h"
10 #include "src/compiler/property-access-info.h" 10 #include "src/compiler/property-access-info.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 Reduction Replace(Node* node, Node* value, Node* effect = nullptr, 58 Reduction Replace(Node* node, Node* value, Node* effect = nullptr,
59 Node* control = nullptr) { 59 Node* control = nullptr) {
60 ReplaceWithValue(node, value, effect, control); 60 ReplaceWithValue(node, value, effect, control);
61 return Changed(value); 61 return Changed(value);
62 } 62 }
63 Reduction Replace(Node* node, Handle<Object> value); 63 Reduction Replace(Node* node, Handle<Object> value);
64 64
65 Reduction ReduceNamedAccess(Node* node, Node* value, 65 Reduction ReduceNamedAccess(Node* node, Node* value,
66 MapHandleList const& receiver_maps, 66 MapHandleList const& receiver_maps,
67 Handle<Name> name, 67 Handle<Name> name, PropertyAccessMode access_mode,
68 PropertyAccessMode access_mode); 68 LanguageMode language_mode);
69 69
70 struct ScriptContextTableLookupResult; 70 struct ScriptContextTableLookupResult;
71 bool LookupInScriptContextTable(Handle<Name> name, 71 bool LookupInScriptContextTable(Handle<Name> name,
72 ScriptContextTableLookupResult* result); 72 ScriptContextTableLookupResult* result);
73 73
74 // Adds stability dependencies on all prototypes of every class in 74 // Adds stability dependencies on all prototypes of every class in
75 // {receiver_type} up to (and including) the {holder}. 75 // {receiver_type} up to (and including) the {holder}.
76 void AssumePrototypesStable(Type* receiver_type, Handle<JSObject> holder); 76 void AssumePrototypesStable(Type* receiver_type, Handle<JSObject> holder);
77 77
78 Graph* graph() const; 78 Graph* graph() const;
(...skipping 25 matching lines...) Expand all
104 DISALLOW_COPY_AND_ASSIGN(JSNativeContextSpecialization); 104 DISALLOW_COPY_AND_ASSIGN(JSNativeContextSpecialization);
105 }; 105 };
106 106
107 DEFINE_OPERATORS_FOR_FLAGS(JSNativeContextSpecialization::Flags) 107 DEFINE_OPERATORS_FOR_FLAGS(JSNativeContextSpecialization::Flags)
108 108
109 } // namespace compiler 109 } // namespace compiler
110 } // namespace internal 110 } // namespace internal
111 } // namespace v8 111 } // namespace v8
112 112
113 #endif // V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_ 113 #endif // V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/js-native-context-specialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698