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

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

Issue 489543002: Revert "Load global object and builtins from activation." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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);
92 91
93 // Builders for automatic type conversion. 92 // Builders for automatic type conversion.
94 Node* BuildToBoolean(Node* value); 93 Node* BuildToBoolean(Node* value);
95 94
96 // Builders for error reporting at runtime. 95 // Builders for error reporting at runtime.
97 Node* BuildThrowReferenceError(Variable* var); 96 Node* BuildThrowReferenceError(Variable* var);
98 97
99 // Builders for dynamic hole-checks at runtime. 98 // Builders for dynamic hole-checks at runtime.
100 Node* BuildHoleCheckSilent(Node* value, Node* for_hole, Node* not_hole); 99 Node* BuildHoleCheckSilent(Node* value, Node* for_hole, Node* not_hole);
101 Node* BuildHoleCheckThrow(Node* value, Variable* var, Node* not_hole); 100 Node* BuildHoleCheckThrow(Node* value, Variable* var, Node* not_hole);
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 }; 419 };
421 420
422 Scope* AstGraphBuilder::current_scope() const { 421 Scope* AstGraphBuilder::current_scope() const {
423 return execution_context_->scope(); 422 return execution_context_->scope();
424 } 423 }
425 } 424 }
426 } 425 }
427 } // namespace v8::internal::compiler 426 } // namespace v8::internal::compiler
428 427
429 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ 428 #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