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

Side by Side Diff: src/x64/lithium-codegen-x64.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/ia32/lithium-ia32.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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 void DoDeferredTaggedToI(LTaggedToI* instr); 95 void DoDeferredTaggedToI(LTaggedToI* instr);
96 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); 96 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr);
97 void DoDeferredStackCheck(LGoto* instr); 97 void DoDeferredStackCheck(LGoto* instr);
98 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); 98 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr);
99 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); 99 void DoDeferredStringCharFromCode(LStringCharFromCode* instr);
100 void DoDeferredLInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, 100 void DoDeferredLInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr,
101 Label* map_check); 101 Label* map_check);
102 102
103 // Parallel move support. 103 // Parallel move support.
104 void DoParallelMove(LParallelMove* move); 104 void DoParallelMove(LParallelMove* move);
105 void DoGap(LGap* instr);
105 106
106 // Emit frame translation commands for an environment. 107 // Emit frame translation commands for an environment.
107 void WriteTranslation(LEnvironment* environment, Translation* translation); 108 void WriteTranslation(LEnvironment* environment, Translation* translation);
108 109
109 // Declare methods that deal with the individual node types. 110 // Declare methods that deal with the individual node types.
110 #define DECLARE_DO(type) void Do##type(L##type* node); 111 #define DECLARE_DO(type) void Do##type(L##type* node);
111 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 112 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
112 #undef DECLARE_DO 113 #undef DECLARE_DO
113 114
114 private: 115 private:
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 private: 354 private:
354 LCodeGen* codegen_; 355 LCodeGen* codegen_;
355 Label entry_; 356 Label entry_;
356 Label exit_; 357 Label exit_;
357 Label* external_exit_; 358 Label* external_exit_;
358 }; 359 };
359 360
360 } } // namespace v8::internal 361 } } // namespace v8::internal
361 362
362 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 363 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698