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

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

Issue 11028027: Revert trunk to bleeding_edge at r12484 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 8 years, 2 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/x64/ic-x64.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 Label* map_check); 110 Label* map_check);
111 111
112 void DoCheckMapCommon(Register reg, Handle<Map> map, 112 void DoCheckMapCommon(Register reg, Handle<Map> map,
113 CompareMapMode mode, LEnvironment* env); 113 CompareMapMode mode, LEnvironment* env);
114 114
115 // Parallel move support. 115 // Parallel move support.
116 void DoParallelMove(LParallelMove* move); 116 void DoParallelMove(LParallelMove* move);
117 void DoGap(LGap* instr); 117 void DoGap(LGap* instr);
118 118
119 // Emit frame translation commands for an environment. 119 // Emit frame translation commands for an environment.
120 void WriteTranslation(LEnvironment* environment, 120 void WriteTranslation(LEnvironment* environment, Translation* translation);
121 Translation* translation,
122 int* arguments_index,
123 int* arguments_count);
124 121
125 // Declare methods that deal with the individual node types. 122 // Declare methods that deal with the individual node types.
126 #define DECLARE_DO(type) void Do##type(L##type* node); 123 #define DECLARE_DO(type) void Do##type(L##type* node);
127 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 124 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
128 #undef DECLARE_DO 125 #undef DECLARE_DO
129 126
130 private: 127 private:
131 enum Status { 128 enum Status {
132 UNUSED, 129 UNUSED,
133 GENERATING, 130 GENERATING,
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 void RecordSafepointWithLazyDeopt(LInstruction* instr, 218 void RecordSafepointWithLazyDeopt(LInstruction* instr,
222 SafepointMode safepoint_mode, 219 SafepointMode safepoint_mode,
223 int argc); 220 int argc);
224 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 221 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
225 Safepoint::DeoptMode mode); 222 Safepoint::DeoptMode mode);
226 void DeoptimizeIf(Condition cc, LEnvironment* environment); 223 void DeoptimizeIf(Condition cc, LEnvironment* environment);
227 224
228 void AddToTranslation(Translation* translation, 225 void AddToTranslation(Translation* translation,
229 LOperand* op, 226 LOperand* op,
230 bool is_tagged, 227 bool is_tagged,
231 bool is_uint32, 228 bool is_uint32);
232 int arguments_index,
233 int arguments_count);
234 void PopulateDeoptimizationData(Handle<Code> code); 229 void PopulateDeoptimizationData(Handle<Code> code);
235 int DefineDeoptimizationLiteral(Handle<Object> literal); 230 int DefineDeoptimizationLiteral(Handle<Object> literal);
236 231
237 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); 232 void PopulateDeoptimizationLiteralsWithInlinedFunctions();
238 233
239 Register ToRegister(int index) const; 234 Register ToRegister(int index) const;
240 XMMRegister ToDoubleRegister(int index) const; 235 XMMRegister ToDoubleRegister(int index) const;
241 Operand BuildFastArrayOperand( 236 Operand BuildFastArrayOperand(
242 LOperand* elements_pointer, 237 LOperand* elements_pointer,
243 LOperand* key, 238 LOperand* key,
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 LCodeGen* codegen_; 411 LCodeGen* codegen_;
417 Label entry_; 412 Label entry_;
418 Label exit_; 413 Label exit_;
419 Label* external_exit_; 414 Label* external_exit_;
420 int instruction_index_; 415 int instruction_index_;
421 }; 416 };
422 417
423 } } // namespace v8::internal 418 } } // namespace v8::internal
424 419
425 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 420 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/x64/ic-x64.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698