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

Side by Side Diff: src/x64/lithium-codegen-x64.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/mips/lithium-codegen-mips.cc ('k') | src/x64/lithium-codegen-x64.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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 bool is_aborted() const { return status_ == ABORTED; } 155 bool is_aborted() const { return status_ == ABORTED; }
156 156
157 StrictModeFlag strict_mode_flag() const { 157 StrictModeFlag strict_mode_flag() const {
158 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode; 158 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode;
159 } 159 }
160 160
161 LPlatformChunk* chunk() const { return chunk_; } 161 LPlatformChunk* chunk() const { return chunk_; }
162 Scope* scope() const { return scope_; } 162 Scope* scope() const { return scope_; }
163 HGraph* graph() const { return chunk_->graph(); } 163 HGraph* graph() const { return chunk_->graph(); }
164 164
165 int GetNextEmittedBlock(int block); 165 int GetNextEmittedBlock();
166 166
167 void EmitClassOfTest(Label* if_true, 167 void EmitClassOfTest(Label* if_true,
168 Label* if_false, 168 Label* if_false,
169 Handle<String> class_name, 169 Handle<String> class_name,
170 Register input, 170 Register input,
171 Register temporary, 171 Register temporary,
172 Register scratch); 172 Register scratch);
173 173
174 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } 174 int GetStackSlotCount() const { return chunk()->spill_slot_count(); }
175 175
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 LCodeGen* codegen_; 432 LCodeGen* codegen_;
433 Label entry_; 433 Label entry_;
434 Label exit_; 434 Label exit_;
435 Label* external_exit_; 435 Label* external_exit_;
436 int instruction_index_; 436 int instruction_index_;
437 }; 437 };
438 438
439 } } // namespace v8::internal 439 } } // namespace v8::internal
440 440
441 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 441 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698