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/mips/lithium-codegen-mips.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 | « src/ia32/lithium-codegen-ia32.cc ('k') | src/mips/lithium-codegen-mips.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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 } 189 }
190 190
191 LPlatformChunk* chunk() const { return chunk_; } 191 LPlatformChunk* chunk() const { return chunk_; }
192 Scope* scope() const { return scope_; } 192 Scope* scope() const { return scope_; }
193 HGraph* graph() const { return chunk_->graph(); } 193 HGraph* graph() const { return chunk_->graph(); }
194 194
195 Register scratch0() { return kLithiumScratchReg; } 195 Register scratch0() { return kLithiumScratchReg; }
196 Register scratch1() { return kLithiumScratchReg2; } 196 Register scratch1() { return kLithiumScratchReg2; }
197 DoubleRegister double_scratch0() { return kLithiumScratchDouble; } 197 DoubleRegister double_scratch0() { return kLithiumScratchDouble; }
198 198
199 int GetNextEmittedBlock(int block); 199 int GetNextEmittedBlock();
200 LInstruction* GetNextInstruction(); 200 LInstruction* GetNextInstruction();
201 201
202 void EmitClassOfTest(Label* if_true, 202 void EmitClassOfTest(Label* if_true,
203 Label* if_false, 203 Label* if_false,
204 Handle<String> class_name, 204 Handle<String> class_name,
205 Register input, 205 Register input,
206 Register temporary, 206 Register temporary,
207 Register temporary2); 207 Register temporary2);
208 208
209 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } 209 int GetStackSlotCount() const { return chunk()->spill_slot_count(); }
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 LCodeGen* codegen_; 498 LCodeGen* codegen_;
499 Label entry_; 499 Label entry_;
500 Label exit_; 500 Label exit_;
501 Label* external_exit_; 501 Label* external_exit_;
502 int instruction_index_; 502 int instruction_index_;
503 }; 503 };
504 504
505 } } // namespace v8::internal 505 } } // namespace v8::internal
506 506
507 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 507 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698