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

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

Issue 14246031: Simplified LCodeGen::GetNextEmittedBlock and LCodeGen::EmitGoto a bit. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 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 | « no previous file | 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 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode; 194 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode;
195 } 195 }
196 196
197 LPlatformChunk* chunk() const { return chunk_; } 197 LPlatformChunk* chunk() const { return chunk_; }
198 Scope* scope() const { return scope_; } 198 Scope* scope() const { return scope_; }
199 HGraph* graph() const { return chunk_->graph(); } 199 HGraph* graph() const { return chunk_->graph(); }
200 200
201 Register scratch0() { return r9; } 201 Register scratch0() { return r9; }
202 DwVfpRegister double_scratch0() { return kScratchDoubleReg; } 202 DwVfpRegister double_scratch0() { return kScratchDoubleReg; }
203 203
204 int GetNextEmittedBlock(int block); 204 int GetNextEmittedBlock();
205 LInstruction* GetNextInstruction(); 205 LInstruction* GetNextInstruction();
206 206
207 void EmitClassOfTest(Label* if_true, 207 void EmitClassOfTest(Label* if_true,
208 Label* if_false, 208 Label* if_false,
209 Handle<String> class_name, 209 Handle<String> class_name,
210 Register input, 210 Register input,
211 Register temporary, 211 Register temporary,
212 Register temporary2); 212 Register temporary2);
213 213
214 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } 214 int GetStackSlotCount() const { return chunk()->spill_slot_count(); }
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 LCodeGen* codegen_; 500 LCodeGen* codegen_;
501 Label entry_; 501 Label entry_;
502 Label exit_; 502 Label exit_;
503 Label* external_exit_; 503 Label* external_exit_;
504 int instruction_index_; 504 int instruction_index_;
505 }; 505 };
506 506
507 } } // namespace v8::internal 507 } } // namespace v8::internal
508 508
509 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 509 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698