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

Side by Side Diff: src/x64/lithium-codegen-x64.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/x64/full-codegen-x64.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 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_X64_LITHIUM_CODEGEN_X64_H_ 5 #ifndef V8_X64_LITHIUM_CODEGEN_X64_H_
6 #define V8_X64_LITHIUM_CODEGEN_X64_H_ 6 #define V8_X64_LITHIUM_CODEGEN_X64_H_
7 7
8 #include "src/x64/lithium-x64.h" 8 #include "src/x64/lithium-x64.h"
9 9
10 #include "src/base/logging.h" 10 #include "src/base/logging.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 // Emit frame translation commands for an environment. 112 // Emit frame translation commands for an environment.
113 void WriteTranslation(LEnvironment* environment, Translation* translation); 113 void WriteTranslation(LEnvironment* environment, Translation* translation);
114 114
115 // Declare methods that deal with the individual node types. 115 // Declare methods that deal with the individual node types.
116 #define DECLARE_DO(type) void Do##type(L##type* node); 116 #define DECLARE_DO(type) void Do##type(L##type* node);
117 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 117 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
118 #undef DECLARE_DO 118 #undef DECLARE_DO
119 119
120 private: 120 private:
121 StrictMode strict_mode() const { return info()->strict_mode(); } 121 LanguageMode language_mode() const { return info()->language_mode(); }
122 122
123 LPlatformChunk* chunk() const { return chunk_; } 123 LPlatformChunk* chunk() const { return chunk_; }
124 Scope* scope() const { return scope_; } 124 Scope* scope() const { return scope_; }
125 HGraph* graph() const { return chunk()->graph(); } 125 HGraph* graph() const { return chunk()->graph(); }
126 126
127 XMMRegister double_scratch0() const { return xmm0; } 127 XMMRegister double_scratch0() const { return xmm0; }
128 128
129 void EmitClassOfTest(Label* if_true, 129 void EmitClassOfTest(Label* if_true,
130 Label* if_false, 130 Label* if_false,
131 Handle<String> class_name, 131 Handle<String> class_name,
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 Label entry_; 387 Label entry_;
388 Label exit_; 388 Label exit_;
389 Label done_; 389 Label done_;
390 Label* external_exit_; 390 Label* external_exit_;
391 int instruction_index_; 391 int instruction_index_;
392 }; 392 };
393 393
394 } } // namespace v8::internal 394 } } // namespace v8::internal
395 395
396 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 396 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/x64/full-codegen-x64.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698