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

Side by Side Diff: src/x64/lithium-codegen-x64.h

Issue 6142011: Crankshaft: Move LEnvironment and LPointerMap classes to platform-independent... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 11 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 | « src/lithium.cc ('k') | src/x64/lithium-codegen-x64.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 } 69 }
70 70
71 71
72 // Finish the code by setting stack height, safepoint, and bailout 72 // Finish the code by setting stack height, safepoint, and bailout
73 // information on it. 73 // information on it.
74 void FinishCode(Handle<Code> code) { UNIMPLEMENTED(); } 74 void FinishCode(Handle<Code> code) { UNIMPLEMENTED(); }
75 75
76 // Parallel move support. 76 // Parallel move support.
77 void DoParallelMove(LParallelMove* move); 77 void DoParallelMove(LParallelMove* move);
78 78
79 // Emit frame translation commands for an environment.
80 void WriteTranslation(LEnvironment* environment, Translation* translation);
81
79 // Declare methods that deal with the individual node types. 82 // Declare methods that deal with the individual node types.
80 #define DECLARE_DO(type) void Do##type(L##type* node); 83 #define DECLARE_DO(type) void Do##type(L##type* node);
81 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 84 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
82 #undef DECLARE_DO 85 #undef DECLARE_DO
83 86
84 private: 87 private:
85 enum Status { 88 enum Status {
86 UNUSED, 89 UNUSED,
87 GENERATING, 90 GENERATING,
88 DONE, 91 DONE,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 void CallRuntime(Runtime::FunctionId id, 154 void CallRuntime(Runtime::FunctionId id,
152 int num_arguments, 155 int num_arguments,
153 LInstruction* instr) { 156 LInstruction* instr) {
154 Runtime::Function* function = Runtime::FunctionForId(id); 157 Runtime::Function* function = Runtime::FunctionForId(id);
155 CallRuntime(function, num_arguments, instr); 158 CallRuntime(function, num_arguments, instr);
156 } 159 }
157 160
158 void DeoptimizeIf(Condition cc, LEnvironment* environment) { 161 void DeoptimizeIf(Condition cc, LEnvironment* environment) {
159 UNIMPLEMENTED(); 162 UNIMPLEMENTED();
160 } 163 }
164
165 void AddToTranslation(Translation* translation,
166 LOperand* op,
167 bool is_tagged) { UNIMPLEMENTED(); }
168
169 int DefineDeoptimizationLiteral(Handle<Object> literal) {
170 UNIMPLEMENTED();
171 return 0;
172 }
161 void PopulateDeoptimizationLiteralsWithInlinedFunctions() { UNIMPLEMENTED(); } 173 void PopulateDeoptimizationLiteralsWithInlinedFunctions() { UNIMPLEMENTED(); }
162 174
163 LChunk* const chunk_; 175 LChunk* const chunk_;
164 MacroAssembler* const masm_; 176 MacroAssembler* const masm_;
165 CompilationInfo* const info_; 177 CompilationInfo* const info_;
166 178
167 int current_block_; 179 int current_block_;
168 int current_instruction_; 180 int current_instruction_;
169 const ZoneList<LInstruction*>* instructions_; 181 const ZoneList<LInstruction*>* instructions_;
170 ZoneList<LEnvironment*> deoptimizations_; 182 ZoneList<LEnvironment*> deoptimizations_;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 private: 220 private:
209 LCodeGen* codegen_; 221 LCodeGen* codegen_;
210 Label entry_; 222 Label entry_;
211 Label exit_; 223 Label exit_;
212 Label* external_exit_; 224 Label* external_exit_;
213 }; 225 };
214 226
215 } } // namespace v8::internal 227 } } // namespace v8::internal
216 228
217 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 229 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/lithium.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698