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

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

Issue 195693002: MIPS: Eliminate extended mode, and other modes clean-up (Closed) Base URL: https://github.com/v8/v8.git@gbl
Patch Set: Created 6 years, 9 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
« no previous file with comments | « src/mips/ic-mips.cc ('k') | src/mips/lithium-codegen-mips.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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 156
157 // Emit frame translation commands for an environment. 157 // Emit frame translation commands for an environment.
158 void WriteTranslation(LEnvironment* environment, Translation* translation); 158 void WriteTranslation(LEnvironment* environment, Translation* translation);
159 159
160 // Declare methods that deal with the individual node types. 160 // Declare methods that deal with the individual node types.
161 #define DECLARE_DO(type) void Do##type(L##type* node); 161 #define DECLARE_DO(type) void Do##type(L##type* node);
162 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 162 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
163 #undef DECLARE_DO 163 #undef DECLARE_DO
164 164
165 private: 165 private:
166 StrictMode strict_mode_flag() const { 166 StrictMode strict_mode() const { return info()->strict_mode(); }
167 return info()->is_sloppy_mode() ? kSloppyMode : kStrictMode;
168 }
169 167
170 Scope* scope() const { return scope_; } 168 Scope* scope() const { return scope_; }
171 169
172 Register scratch0() { return kLithiumScratchReg; } 170 Register scratch0() { return kLithiumScratchReg; }
173 Register scratch1() { return kLithiumScratchReg2; } 171 Register scratch1() { return kLithiumScratchReg2; }
174 DoubleRegister double_scratch0() { return kLithiumScratchDouble; } 172 DoubleRegister double_scratch0() { return kLithiumScratchDouble; }
175 173
176 LInstruction* GetNextInstruction(); 174 LInstruction* GetNextInstruction();
177 175
178 void EmitClassOfTest(Label* if_true, 176 void EmitClassOfTest(Label* if_true,
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 LCodeGen* codegen_; 497 LCodeGen* codegen_;
500 Label entry_; 498 Label entry_;
501 Label exit_; 499 Label exit_;
502 Label* external_exit_; 500 Label* external_exit_;
503 int instruction_index_; 501 int instruction_index_;
504 }; 502 };
505 503
506 } } // namespace v8::internal 504 } } // namespace v8::internal
507 505
508 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 506 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/ic-mips.cc ('k') | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698