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

Side by Side Diff: src/compiler/bytecode-graph-builder.h

Issue 1480003002: [runtime] Replace global object link with native context link in all contexts. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add patch from Orion for interpreter cementation test. Disable obsolete/invalid tests. Created 5 years 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/ast-graph-builder.cc ('k') | src/compiler/bytecode-graph-builder.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_BYTECODE_GRAPH_BUILDER_H_ 5 #ifndef V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_
6 #define V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 6 #define V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_
7 7
8 #include "src/compiler.h" 8 #include "src/compiler.h"
9 #include "src/compiler/js-graph.h" 9 #include "src/compiler/js-graph.h"
10 #include "src/interpreter/bytecode-array-iterator.h" 10 #include "src/interpreter/bytecode-array-iterator.h"
(...skipping 29 matching lines...) Expand all
40 // Get or create the node that represents the outer function context. 40 // Get or create the node that represents the outer function context.
41 Node* GetFunctionContext(); 41 Node* GetFunctionContext();
42 42
43 // Builder for accessing a (potentially immutable) object field. 43 // Builder for accessing a (potentially immutable) object field.
44 Node* BuildLoadObjectField(Node* object, int offset); 44 Node* BuildLoadObjectField(Node* object, int offset);
45 Node* BuildLoadImmutableObjectField(Node* object, int offset); 45 Node* BuildLoadImmutableObjectField(Node* object, int offset);
46 46
47 // Builder for accessing type feedback vector. 47 // Builder for accessing type feedback vector.
48 Node* BuildLoadFeedbackVector(); 48 Node* BuildLoadFeedbackVector();
49 49
50 // Builder for loading the global object.
51 Node* BuildLoadGlobalObject();
52
53 // Builder for loading the a native context field. 50 // Builder for loading the a native context field.
54 Node* BuildLoadNativeContextField(int index); 51 Node* BuildLoadNativeContextField(int index);
55 52
56 // Helper function for creating a pair containing type feedback vector and 53 // Helper function for creating a pair containing type feedback vector and
57 // a feedback slot. 54 // a feedback slot.
58 VectorSlotPair CreateVectorSlotPair(int slot_id); 55 VectorSlotPair CreateVectorSlotPair(int slot_id);
59 56
60 // Replaces the frame state inputs with empty frame states. 57 // Replaces the frame state inputs with empty frame states.
61 void AddEmptyFrameStateInputs(Node* node); 58 void AddEmptyFrameStateInputs(Node* node);
62 59
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 NodeVector values_; 220 NodeVector values_;
224 int register_base_; 221 int register_base_;
225 }; 222 };
226 223
227 224
228 } // namespace compiler 225 } // namespace compiler
229 } // namespace internal 226 } // namespace internal
230 } // namespace v8 227 } // namespace v8
231 228
232 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 229 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/compiler/bytecode-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698