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

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

Issue 7276034: ARM: Improve register allocation and constraints (try 2).... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 5 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
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/arm/lithium-codegen-arm.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 int strict_mode_flag() const { 142 int strict_mode_flag() const {
143 return info()->is_strict_mode() ? kStrictMode : kNonStrictMode; 143 return info()->is_strict_mode() ? kStrictMode : kNonStrictMode;
144 } 144 }
145 145
146 LChunk* chunk() const { return chunk_; } 146 LChunk* chunk() const { return chunk_; }
147 Scope* scope() const { return scope_; } 147 Scope* scope() const { return scope_; }
148 HGraph* graph() const { return chunk_->graph(); } 148 HGraph* graph() const { return chunk_->graph(); }
149 149
150 Register scratch0() { return r9; } 150 Register scratch0() { return r9; }
151 DwVfpRegister double_scratch0() { return d0; } 151 DwVfpRegister double_scratch0() { return d15; }
152 152
153 int GetNextEmittedBlock(int block); 153 int GetNextEmittedBlock(int block);
154 LInstruction* GetNextInstruction(); 154 LInstruction* GetNextInstruction();
155 155
156 void EmitClassOfTest(Label* if_true, 156 void EmitClassOfTest(Label* if_true,
157 Label* if_false, 157 Label* if_false,
158 Handle<String> class_name, 158 Handle<String> class_name,
159 Register input, 159 Register input,
160 Register temporary, 160 Register temporary,
161 Register temporary2); 161 Register temporary2);
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 private: 395 private:
396 LCodeGen* codegen_; 396 LCodeGen* codegen_;
397 Label entry_; 397 Label entry_;
398 Label exit_; 398 Label exit_;
399 Label* external_exit_; 399 Label* external_exit_;
400 }; 400 };
401 401
402 } } // namespace v8::internal 402 } } // namespace v8::internal
403 403
404 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 404 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698