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

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

Issue 890413003: MIPS: Introduce LanguageMode, drop StrictMode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/mips64/full-codegen-mips64.cc ('k') | src/mips64/lithium-codegen-mips64.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 5 #ifndef V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
6 #define V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 6 #define V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
7 7
8 #include "src/deoptimizer.h" 8 #include "src/deoptimizer.h"
9 #include "src/lithium-codegen.h" 9 #include "src/lithium-codegen.h"
10 #include "src/mips64/lithium-gap-resolver-mips64.h" 10 #include "src/mips64/lithium-gap-resolver-mips64.h"
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 137
138 // Emit frame translation commands for an environment. 138 // Emit frame translation commands for an environment.
139 void WriteTranslation(LEnvironment* environment, Translation* translation); 139 void WriteTranslation(LEnvironment* environment, Translation* translation);
140 140
141 // Declare methods that deal with the individual node types. 141 // Declare methods that deal with the individual node types.
142 #define DECLARE_DO(type) void Do##type(L##type* node); 142 #define DECLARE_DO(type) void Do##type(L##type* node);
143 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 143 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
144 #undef DECLARE_DO 144 #undef DECLARE_DO
145 145
146 private: 146 private:
147 StrictMode strict_mode() const { return info()->strict_mode(); } 147 LanguageMode language_mode() const { return info()->language_mode(); }
148 148
149 Scope* scope() const { return scope_; } 149 Scope* scope() const { return scope_; }
150 150
151 Register scratch0() { return kLithiumScratchReg; } 151 Register scratch0() { return kLithiumScratchReg; }
152 Register scratch1() { return kLithiumScratchReg2; } 152 Register scratch1() { return kLithiumScratchReg2; }
153 DoubleRegister double_scratch0() { return kLithiumScratchDouble; } 153 DoubleRegister double_scratch0() { return kLithiumScratchDouble; }
154 154
155 LInstruction* GetNextInstruction(); 155 LInstruction* GetNextInstruction();
156 156
157 void EmitClassOfTest(Label* if_true, 157 void EmitClassOfTest(Label* if_true,
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 LCodeGen* codegen_; 432 LCodeGen* codegen_;
433 Label entry_; 433 Label entry_;
434 Label exit_; 434 Label exit_;
435 Label* external_exit_; 435 Label* external_exit_;
436 int instruction_index_; 436 int instruction_index_;
437 }; 437 };
438 438
439 } } // namespace v8::internal 439 } } // namespace v8::internal
440 440
441 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 441 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips64/full-codegen-mips64.cc ('k') | src/mips64/lithium-codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698