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

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

Issue 9114038: Fix for an ARM register allocation bug. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix bug in ARM gap resolver. Created 8 years, 11 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/assembler-arm-inl.h ('k') | src/arm/lithium-gap-resolver-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 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 149
150 StrictModeFlag strict_mode_flag() const { 150 StrictModeFlag strict_mode_flag() const {
151 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode; 151 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode;
152 } 152 }
153 153
154 LChunk* chunk() const { return chunk_; } 154 LChunk* chunk() const { return chunk_; }
155 Scope* scope() const { return scope_; } 155 Scope* scope() const { return scope_; }
156 HGraph* graph() const { return chunk_->graph(); } 156 HGraph* graph() const { return chunk_->graph(); }
157 157
158 Register scratch0() { return r9; } 158 Register scratch0() { return r9; }
159 DwVfpRegister double_scratch0() { return d15; } 159 DwVfpRegister double_scratch0() { return kScratchDoubleReg; }
160 160
161 int GetNextEmittedBlock(int block); 161 int GetNextEmittedBlock(int block);
162 LInstruction* GetNextInstruction(); 162 LInstruction* GetNextInstruction();
163 163
164 void EmitClassOfTest(Label* if_true, 164 void EmitClassOfTest(Label* if_true,
165 Label* if_false, 165 Label* if_false,
166 Handle<String> class_name, 166 Handle<String> class_name,
167 Register input, 167 Register input,
168 Register temporary, 168 Register temporary,
169 Register temporary2); 169 Register temporary2);
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 LCodeGen* codegen_; 424 LCodeGen* codegen_;
425 Label entry_; 425 Label entry_;
426 Label exit_; 426 Label exit_;
427 Label* external_exit_; 427 Label* external_exit_;
428 int instruction_index_; 428 int instruction_index_;
429 }; 429 };
430 430
431 } } // namespace v8::internal 431 } } // namespace v8::internal
432 432
433 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 433 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/assembler-arm-inl.h ('k') | src/arm/lithium-gap-resolver-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698