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

Side by Side Diff: src/arm/lithium-codegen-arm.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-arm.cc ('k') | src/arm/lithium-codegen-arm.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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 void DoDeferredTaggedToI(LTaggedToI* instr); 108 void DoDeferredTaggedToI(LTaggedToI* instr);
109 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); 109 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr);
110 void DoDeferredStackCheck(LGoto* instr); 110 void DoDeferredStackCheck(LGoto* instr);
111 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); 111 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr);
112 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); 112 void DoDeferredStringCharFromCode(LStringCharFromCode* instr);
113 void DoDeferredLInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, 113 void DoDeferredLInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr,
114 Label* map_check); 114 Label* map_check);
115 115
116 // Parallel move support. 116 // Parallel move support.
117 void DoParallelMove(LParallelMove* move); 117 void DoParallelMove(LParallelMove* move);
118 void DoGap(LGap* instr);
118 119
119 // Emit frame translation commands for an environment. 120 // Emit frame translation commands for an environment.
120 void WriteTranslation(LEnvironment* environment, Translation* translation); 121 void WriteTranslation(LEnvironment* environment, Translation* translation);
121 122
122 // Declare methods that deal with the individual node types. 123 // Declare methods that deal with the individual node types.
123 #define DECLARE_DO(type) void Do##type(L##type* node); 124 #define DECLARE_DO(type) void Do##type(L##type* node);
124 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 125 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
125 #undef DECLARE_DO 126 #undef DECLARE_DO
126 127
127 private: 128 private:
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 private: 382 private:
382 LCodeGen* codegen_; 383 LCodeGen* codegen_;
383 Label entry_; 384 Label entry_;
384 Label exit_; 385 Label exit_;
385 Label* external_exit_; 386 Label* external_exit_;
386 }; 387 };
387 388
388 } } // namespace v8::internal 389 } } // namespace v8::internal
389 390
390 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 391 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698