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

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

Issue 6880204: Refactor lithium classes to reduce the number of virtual functions. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/ia32/lithium-codegen-ia32.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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 void DoDeferredTaggedToI(LTaggedToI* instr); 98 void DoDeferredTaggedToI(LTaggedToI* instr);
99 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); 99 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr);
100 void DoDeferredStackCheck(LGoto* instr); 100 void DoDeferredStackCheck(LGoto* instr);
101 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); 101 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr);
102 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); 102 void DoDeferredStringCharFromCode(LStringCharFromCode* instr);
103 void DoDeferredLInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, 103 void DoDeferredLInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr,
104 Label* map_check); 104 Label* map_check);
105 105
106 // Parallel move support. 106 // Parallel move support.
107 void DoParallelMove(LParallelMove* move); 107 void DoParallelMove(LParallelMove* move);
108 void DoGap(LGap* instr);
108 109
109 // Emit frame translation commands for an environment. 110 // Emit frame translation commands for an environment.
110 void WriteTranslation(LEnvironment* environment, Translation* translation); 111 void WriteTranslation(LEnvironment* environment, Translation* translation);
111 112
112 void EnsureRelocSpaceForDeoptimization(); 113 void EnsureRelocSpaceForDeoptimization();
113 114
114 // Declare methods that deal with the individual node types. 115 // Declare methods that deal with the individual node types.
115 #define DECLARE_DO(type) void Do##type(L##type* node); 116 #define DECLARE_DO(type) void Do##type(L##type* node);
116 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 117 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
117 #undef DECLARE_DO 118 #undef DECLARE_DO
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 private: 362 private:
362 LCodeGen* codegen_; 363 LCodeGen* codegen_;
363 Label entry_; 364 Label entry_;
364 Label exit_; 365 Label exit_;
365 Label* external_exit_; 366 Label* external_exit_;
366 }; 367 };
367 368
368 } } // namespace v8::internal 369 } } // namespace v8::internal
369 370
370 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 371 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698