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

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

Issue 1678103002: [interpreter] Remove special "prototype" load in class literals. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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 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/bytecode-branch-analysis.h" 9 #include "src/compiler/bytecode-branch-analysis.h"
10 #include "src/compiler/js-graph.h" 10 #include "src/compiler/js-graph.h"
(...skipping 23 matching lines...) Expand all
34 // Get or create the node that represents the outer function closure. 34 // Get or create the node that represents the outer function closure.
35 Node* GetFunctionClosure(); 35 Node* GetFunctionClosure();
36 36
37 // Get or create the node that represents the outer function context. 37 // Get or create the node that represents the outer function context.
38 Node* GetFunctionContext(); 38 Node* GetFunctionContext();
39 39
40 // Get or create the node that represents the incoming new target value. 40 // Get or create the node that represents the incoming new target value.
41 Node* GetNewTarget(); 41 Node* GetNewTarget();
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);
45 Node* BuildLoadImmutableObjectField(Node* object, int offset); 44 Node* BuildLoadImmutableObjectField(Node* object, int offset);
46 45
47 // Builder for accessing type feedback vector. 46 // Builder for accessing type feedback vector.
48 Node* BuildLoadFeedbackVector(); 47 Node* BuildLoadFeedbackVector();
49 48
50 // Builder for loading the a native context field. 49 // Builder for loading the a native context field.
51 Node* BuildLoadNativeContextField(int index); 50 Node* BuildLoadNativeContextField(int index);
52 51
53 // Helper function for creating a pair containing type feedback vector and 52 // Helper function for creating a pair containing type feedback vector and
54 // a feedback slot. 53 // a feedback slot.
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 ZoneVector<Node*> exit_controls_; 253 ZoneVector<Node*> exit_controls_;
255 254
256 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); 255 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder);
257 }; 256 };
258 257
259 } // namespace compiler 258 } // namespace compiler
260 } // namespace internal 259 } // namespace internal
261 } // namespace v8 260 } // namespace v8
262 261
263 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 262 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/bytecode-graph-builder.cc » ('j') | test/cctest/interpreter/test-bytecode-generator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698