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

Side by Side Diff: src/codegen.h

Issue 2147943002: Revert of [turbofan] Do not use the self reference for turbofan functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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 | « no previous file | src/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_CODEGEN_H_ 5 #ifndef V8_CODEGEN_H_
6 #define V8_CODEGEN_H_ 6 #define V8_CODEGEN_H_
7 7
8 #include "src/code-stubs.h" 8 #include "src/code-stubs.h"
9 #include "src/runtime/runtime.h" 9 #include "src/runtime/runtime.h"
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 class EhFrameWriter; 72 class EhFrameWriter;
73 73
74 class CodeGenerator { 74 class CodeGenerator {
75 public: 75 public:
76 // Printing of AST, etc. as requested by flags. 76 // Printing of AST, etc. as requested by flags.
77 static void MakeCodePrologue(CompilationInfo* info, const char* kind); 77 static void MakeCodePrologue(CompilationInfo* info, const char* kind);
78 78
79 // Allocate and install the code. 79 // Allocate and install the code.
80 static Handle<Code> MakeCodeEpilogue(MacroAssembler* masm, 80 static Handle<Code> MakeCodeEpilogue(MacroAssembler* masm,
81 EhFrameWriter* unwinding, 81 EhFrameWriter* unwinding,
82 CompilationInfo* info, 82 CompilationInfo* info);
83 Handle<Object> self_reference);
84 83
85 // Print the code after compiling it. 84 // Print the code after compiling it.
86 static void PrintCode(Handle<Code> code, CompilationInfo* info); 85 static void PrintCode(Handle<Code> code, CompilationInfo* info);
87 86
88 private: 87 private:
89 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 88 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
90 }; 89 };
91 90
92 91
93 // Results of the library implementation of transcendental functions may differ 92 // Results of the library implementation of transcendental functions may differ
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 #ifdef V8_TARGET_ARCH_ARM64 164 #ifdef V8_TARGET_ARCH_ARM64
166 const EmbeddedVector<byte, kNoCodeAgeSequenceLength> old_sequence_; 165 const EmbeddedVector<byte, kNoCodeAgeSequenceLength> old_sequence_;
167 #endif 166 #endif
168 #endif 167 #endif
169 }; 168 };
170 169
171 } // namespace internal 170 } // namespace internal
172 } // namespace v8 171 } // namespace v8
173 172
174 #endif // V8_CODEGEN_H_ 173 #endif // V8_CODEGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698