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

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

Issue 894683003: Introduce LanguageMode, drop StrictMode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebased (w/ conflicts) 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/ia32/full-codegen-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.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_IA32_LITHIUM_CODEGEN_IA32_H_ 5 #ifndef V8_IA32_LITHIUM_CODEGEN_IA32_H_
6 #define V8_IA32_LITHIUM_CODEGEN_IA32_H_ 6 #define V8_IA32_LITHIUM_CODEGEN_IA32_H_
7 7
8 #include "src/ia32/lithium-ia32.h" 8 #include "src/ia32/lithium-ia32.h"
9 9
10 #include "src/base/logging.h" 10 #include "src/base/logging.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 void WriteTranslation(LEnvironment* environment, Translation* translation); 119 void WriteTranslation(LEnvironment* environment, Translation* translation);
120 120
121 void EnsureRelocSpaceForDeoptimization(); 121 void EnsureRelocSpaceForDeoptimization();
122 122
123 // Declare methods that deal with the individual node types. 123 // Declare methods that deal with the individual node types.
124 #define DECLARE_DO(type) void Do##type(L##type* node); 124 #define DECLARE_DO(type) void Do##type(L##type* node);
125 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 125 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
126 #undef DECLARE_DO 126 #undef DECLARE_DO
127 127
128 private: 128 private:
129 StrictMode strict_mode() const { return info()->strict_mode(); } 129 LanguageMode language_mode() const { return info()->language_mode(); }
130 130
131 Scope* scope() const { return scope_; } 131 Scope* scope() const { return scope_; }
132 132
133 XMMRegister double_scratch0() const { return xmm0; } 133 XMMRegister double_scratch0() const { return xmm0; }
134 134
135 void EmitClassOfTest(Label* if_true, 135 void EmitClassOfTest(Label* if_true,
136 Label* if_false, 136 Label* if_false,
137 Handle<String> class_name, 137 Handle<String> class_name,
138 Register input, 138 Register input,
139 Register temporary, 139 Register temporary,
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 Label entry_; 400 Label entry_;
401 Label exit_; 401 Label exit_;
402 Label* external_exit_; 402 Label* external_exit_;
403 Label done_; 403 Label done_;
404 int instruction_index_; 404 int instruction_index_;
405 }; 405 };
406 406
407 } } // namespace v8::internal 407 } } // namespace v8::internal
408 408
409 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 409 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698