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

Side by Side Diff: src/ia32/lithium-codegen-ia32.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/arm/lithium-codegen-arm.cc ('k') | src/ia32/lithium-codegen-ia32.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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 bool is_aborted() const { return status_ == ABORTED; } 184 bool is_aborted() const { return status_ == ABORTED; }
185 185
186 StrictModeFlag strict_mode_flag() const { 186 StrictModeFlag strict_mode_flag() const {
187 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode; 187 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode;
188 } 188 }
189 189
190 LPlatformChunk* chunk() const { return chunk_; } 190 LPlatformChunk* chunk() const { return chunk_; }
191 Scope* scope() const { return scope_; } 191 Scope* scope() const { return scope_; }
192 HGraph* graph() const { return chunk_->graph(); } 192 HGraph* graph() const { return chunk_->graph(); }
193 193
194 int GetNextEmittedBlock(int block); 194 int GetNextEmittedBlock();
195 195
196 void EmitClassOfTest(Label* if_true, 196 void EmitClassOfTest(Label* if_true,
197 Label* if_false, 197 Label* if_false,
198 Handle<String> class_name, 198 Handle<String> class_name,
199 Register input, 199 Register input,
200 Register temporary, 200 Register temporary,
201 Register temporary2); 201 Register temporary2);
202 202
203 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } 203 int GetStackSlotCount() const { return chunk()->spill_slot_count(); }
204 204
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 LCodeGen* codegen_; 479 LCodeGen* codegen_;
480 Label entry_; 480 Label entry_;
481 Label exit_; 481 Label exit_;
482 Label* external_exit_; 482 Label* external_exit_;
483 int instruction_index_; 483 int instruction_index_;
484 }; 484 };
485 485
486 } } // namespace v8::internal 486 } } // namespace v8::internal
487 487
488 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 488 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698