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

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

Issue 902053005: X87: 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/x87/full-codegen-x87.cc ('k') | src/x87/lithium-codegen-x87.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_X87_LITHIUM_CODEGEN_X87_H_ 5 #ifndef V8_X87_LITHIUM_CODEGEN_X87_H_
6 #define V8_X87_LITHIUM_CODEGEN_X87_H_ 6 #define V8_X87_LITHIUM_CODEGEN_X87_H_
7 7
8 #include <map> 8 #include <map>
9 #include "src/x87/lithium-x87.h" 9 #include "src/x87/lithium-x87.h"
10 10
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 void WriteTranslation(LEnvironment* environment, Translation* translation); 153 void WriteTranslation(LEnvironment* environment, Translation* translation);
154 154
155 void EnsureRelocSpaceForDeoptimization(); 155 void EnsureRelocSpaceForDeoptimization();
156 156
157 // Declare methods that deal with the individual node types. 157 // Declare methods that deal with the individual node types.
158 #define DECLARE_DO(type) void Do##type(L##type* node); 158 #define DECLARE_DO(type) void Do##type(L##type* node);
159 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 159 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
160 #undef DECLARE_DO 160 #undef DECLARE_DO
161 161
162 private: 162 private:
163 StrictMode strict_mode() const { return info()->strict_mode(); } 163 LanguageMode language_mode() const { return info()->language_mode(); }
164 164
165 Scope* scope() const { return scope_; } 165 Scope* scope() const { return scope_; }
166 166
167 void EmitClassOfTest(Label* if_true, 167 void EmitClassOfTest(Label* if_true,
168 Label* if_false, 168 Label* if_false,
169 Handle<String> class_name, 169 Handle<String> class_name,
170 Register input, 170 Register input,
171 Register temporary, 171 Register temporary,
172 Register temporary2); 172 Register temporary2);
173 173
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 Label exit_; 500 Label exit_;
501 Label* external_exit_; 501 Label* external_exit_;
502 Label done_; 502 Label done_;
503 int instruction_index_; 503 int instruction_index_;
504 LCodeGen::X87Stack x87_stack_; 504 LCodeGen::X87Stack x87_stack_;
505 }; 505 };
506 506
507 } } // namespace v8::internal 507 } } // namespace v8::internal
508 508
509 #endif // V8_X87_LITHIUM_CODEGEN_X87_H_ 509 #endif // V8_X87_LITHIUM_CODEGEN_X87_H_
OLDNEW
« no previous file with comments | « src/x87/full-codegen-x87.cc ('k') | src/x87/lithium-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698