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

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

Issue 474633003: Load global object and builtins from activation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Load global object and builtins from activation. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/compiler/ast-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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_AST_GRAPH_BUILDER_H_ 5 #ifndef V8_COMPILER_AST_GRAPH_BUILDER_H_
6 #define V8_COMPILER_AST_GRAPH_BUILDER_H_ 6 #define V8_COMPILER_AST_GRAPH_BUILDER_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/ast.h" 10 #include "src/ast.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 Node* BuildVariableAssignment(Variable* var, Node* value, Token::Value op, 81 Node* BuildVariableAssignment(Variable* var, Node* value, Token::Value op,
82 BailoutId bailout_id); 82 BailoutId bailout_id);
83 Node* BuildVariableDelete(Variable* var); 83 Node* BuildVariableDelete(Variable* var);
84 Node* BuildVariableLoad(Variable* var, BailoutId bailout_id, 84 Node* BuildVariableLoad(Variable* var, BailoutId bailout_id,
85 ContextualMode mode = CONTEXTUAL); 85 ContextualMode mode = CONTEXTUAL);
86 86
87 // Builders for accessing the function context. 87 // Builders for accessing the function context.
88 Node* BuildLoadBuiltinsObject(); 88 Node* BuildLoadBuiltinsObject();
89 Node* BuildLoadGlobalObject(); 89 Node* BuildLoadGlobalObject();
90 Node* BuildLoadClosure(); 90 Node* BuildLoadClosure();
91 Node* BuildLoadObjectField(Node* object, int offset);
91 92
92 // Builders for automatic type conversion. 93 // Builders for automatic type conversion.
93 Node* BuildToBoolean(Node* value); 94 Node* BuildToBoolean(Node* value);
94 95
95 // Builders for error reporting at runtime. 96 // Builders for error reporting at runtime.
96 Node* BuildThrowReferenceError(Variable* var); 97 Node* BuildThrowReferenceError(Variable* var);
97 98
98 // Builders for dynamic hole-checks at runtime. 99 // Builders for dynamic hole-checks at runtime.
99 Node* BuildHoleCheckSilent(Node* value, Node* for_hole, Node* not_hole); 100 Node* BuildHoleCheckSilent(Node* value, Node* for_hole, Node* not_hole);
100 Node* BuildHoleCheckThrow(Node* value, Variable* var, Node* not_hole); 101 Node* BuildHoleCheckThrow(Node* value, Variable* var, Node* not_hole);
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 }; 420 };
420 421
421 Scope* AstGraphBuilder::current_scope() const { 422 Scope* AstGraphBuilder::current_scope() const {
422 return execution_context_->scope(); 423 return execution_context_->scope();
423 } 424 }
424 } 425 }
425 } 426 }
426 } // namespace v8::internal::compiler 427 } // namespace v8::internal::compiler
427 428
428 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ 429 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698