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

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

Issue 1848553002: [full-codegen] Reload context register after intrinsic call. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix missing include Created 4 years, 8 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/full-codegen/arm64/full-codegen-arm64.cc ('k') | src/full-codegen/full-codegen.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 701 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 Handle<Script> script() { return info_->script(); } 712 Handle<Script> script() { return info_->script(); }
713 bool is_eval() { return info_->is_eval(); } 713 bool is_eval() { return info_->is_eval(); }
714 bool is_native() { return info_->is_native(); } 714 bool is_native() { return info_->is_native(); }
715 LanguageMode language_mode() { return literal()->language_mode(); } 715 LanguageMode language_mode() { return literal()->language_mode(); }
716 bool has_simple_parameters() { return info_->has_simple_parameters(); } 716 bool has_simple_parameters() { return info_->has_simple_parameters(); }
717 FunctionLiteral* literal() const { return info_->literal(); } 717 FunctionLiteral* literal() const { return info_->literal(); }
718 Scope* scope() { return scope_; } 718 Scope* scope() { return scope_; }
719 719
720 static Register context_register(); 720 static Register context_register();
721 721
722 // Get fields from the stack frame. Offsets are the frame pointer relative
723 // offsets defined in, e.g., StandardFrameConstants.
724 void LoadFromFrameField(int frame_offset, Register value);
722 // Set fields in the stack frame. Offsets are the frame pointer relative 725 // Set fields in the stack frame. Offsets are the frame pointer relative
723 // offsets defined in, e.g., StandardFrameConstants. 726 // offsets defined in, e.g., StandardFrameConstants.
724 void StoreToFrameField(int frame_offset, Register value); 727 void StoreToFrameField(int frame_offset, Register value);
725 728
726 // Load a value from the current context. Indices are defined as an enum 729 // Load a value from the current context. Indices are defined as an enum
727 // in v8::internal::Context. 730 // in v8::internal::Context.
728 void LoadContextField(Register dst, int context_index); 731 void LoadContextField(Register dst, int context_index);
729 732
730 // Push the function argument for the runtime functions PushWithContext 733 // Push the function argument for the runtime functions PushWithContext
731 // and PushCatchContext. 734 // and PushCatchContext.
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
1053 Address start_; 1056 Address start_;
1054 Address instruction_start_; 1057 Address instruction_start_;
1055 uint32_t length_; 1058 uint32_t length_;
1056 }; 1059 };
1057 1060
1058 1061
1059 } // namespace internal 1062 } // namespace internal
1060 } // namespace v8 1063 } // namespace v8
1061 1064
1062 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ 1065 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/full-codegen/arm64/full-codegen-arm64.cc ('k') | src/full-codegen/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698