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

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

Issue 177683002: Mode clean-up pt 1: rename classic/non-strict mode to sloppy mode (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
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 | Annotate | Revision Log
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 // Emit frame translation commands for an environment. 156 // Emit frame translation commands for an environment.
157 void WriteTranslation(LEnvironment* environment, Translation* translation); 157 void WriteTranslation(LEnvironment* environment, Translation* translation);
158 158
159 // Declare methods that deal with the individual node types. 159 // Declare methods that deal with the individual node types.
160 #define DECLARE_DO(type) void Do##type(L##type* node); 160 #define DECLARE_DO(type) void Do##type(L##type* node);
161 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 161 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
162 #undef DECLARE_DO 162 #undef DECLARE_DO
163 163
164 private: 164 private:
165 StrictModeFlag strict_mode_flag() const { 165 StrictModeFlag strict_mode_flag() const {
166 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode; 166 return info()->is_sloppy_mode() ? kSloppyMode : kStrictMode;
167 } 167 }
168 168
169 Scope* scope() const { return scope_; } 169 Scope* scope() const { return scope_; }
170 170
171 Register scratch0() { return r9; } 171 Register scratch0() { return r9; }
172 LowDwVfpRegister double_scratch0() { return kScratchDoubleReg; } 172 LowDwVfpRegister double_scratch0() { return kScratchDoubleReg; }
173 173
174 LInstruction* GetNextInstruction(); 174 LInstruction* GetNextInstruction();
175 175
176 void EmitClassOfTest(Label* if_true, 176 void EmitClassOfTest(Label* if_true,
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 LCodeGen* codegen_; 459 LCodeGen* codegen_;
460 Label entry_; 460 Label entry_;
461 Label exit_; 461 Label exit_;
462 Label* external_exit_; 462 Label* external_exit_;
463 int instruction_index_; 463 int instruction_index_;
464 }; 464 };
465 465
466 } } // namespace v8::internal 466 } } // namespace v8::internal
467 467
468 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 468 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/ic-arm.cc ('k') | src/arm/lithium-codegen-arm.cc » ('j') | src/globals.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698