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

Side by Side Diff: src/full-codegen/full-codegen.h

Issue 1992943002: Version 5.1.281.42 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@5.1
Patch Set: Created 4 years, 7 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
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/interpreter/bytecode-generator.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_FULL_CODEGEN_FULL_CODEGEN_H_ 5 #ifndef V8_FULL_CODEGEN_FULL_CODEGEN_H_
6 #define V8_FULL_CODEGEN_FULL_CODEGEN_H_ 6 #define V8_FULL_CODEGEN_FULL_CODEGEN_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assert-scope.h" 9 #include "src/assert-scope.h"
10 #include "src/ast/ast.h" 10 #include "src/ast/ast.h"
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 724
725 class ExpressionContext; 725 class ExpressionContext;
726 const ExpressionContext* context() { return context_; } 726 const ExpressionContext* context() { return context_; }
727 void set_new_context(const ExpressionContext* context) { context_ = context; } 727 void set_new_context(const ExpressionContext* context) { context_ = context; }
728 728
729 Isolate* isolate() const { return isolate_; } 729 Isolate* isolate() const { return isolate_; }
730 Zone* zone() const { return zone_; } 730 Zone* zone() const { return zone_; }
731 Handle<Script> script() { return info_->script(); } 731 Handle<Script> script() { return info_->script(); }
732 bool is_eval() { return info_->is_eval(); } 732 bool is_eval() { return info_->is_eval(); }
733 bool is_native() { return info_->is_native(); } 733 bool is_native() { return info_->is_native(); }
734 LanguageMode language_mode() { return literal()->language_mode(); } 734 LanguageMode language_mode() { return scope()->language_mode(); }
735 bool has_simple_parameters() { return info_->has_simple_parameters(); } 735 bool has_simple_parameters() { return info_->has_simple_parameters(); }
736 FunctionLiteral* literal() const { return info_->literal(); } 736 FunctionLiteral* literal() const { return info_->literal(); }
737 Scope* scope() { return scope_; } 737 Scope* scope() { return scope_; }
738 738
739 static Register context_register(); 739 static Register context_register();
740 740
741 // Get fields from the stack frame. Offsets are the frame pointer relative 741 // Get fields from the stack frame. Offsets are the frame pointer relative
742 // offsets defined in, e.g., StandardFrameConstants. 742 // offsets defined in, e.g., StandardFrameConstants.
743 void LoadFromFrameField(int frame_offset, Register value); 743 void LoadFromFrameField(int frame_offset, Register value);
744 // Set fields in the stack frame. Offsets are the frame pointer relative 744 // Set fields in the stack frame. Offsets are the frame pointer relative
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
1075 Address start_; 1075 Address start_;
1076 Address instruction_start_; 1076 Address instruction_start_;
1077 uint32_t length_; 1077 uint32_t length_;
1078 }; 1078 };
1079 1079
1080 1080
1081 } // namespace internal 1081 } // namespace internal
1082 } // namespace v8 1082 } // namespace v8
1083 1083
1084 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ 1084 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/interpreter/bytecode-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698