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

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

Issue 6374002: X64 Crank: Implemented DoBranch and all *AndBranch comparisons. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge/build-x64
Patch Set: Removed unnecessary temporary. Created 9 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/x64/code-stubs-x64.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 HGraph* graph() const { return chunk_->graph(); } 131 HGraph* graph() const { return chunk_->graph(); }
132 MacroAssembler* masm() const { return masm_; } 132 MacroAssembler* masm() const { return masm_; }
133 133
134 int GetNextEmittedBlock(int block); 134 int GetNextEmittedBlock(int block);
135 LInstruction* GetNextInstruction(); 135 LInstruction* GetNextInstruction();
136 136
137 void EmitClassOfTest(Label* if_true, 137 void EmitClassOfTest(Label* if_true,
138 Label* if_false, 138 Label* if_false,
139 Handle<String> class_name, 139 Handle<String> class_name,
140 Register input, 140 Register input,
141 Register temporary, 141 Register temporary);
142 Register temporary2);
143 142
144 int StackSlotCount() const { return chunk()->spill_slot_count(); } 143 int StackSlotCount() const { return chunk()->spill_slot_count(); }
145 int ParameterCount() const { return scope()->num_parameters(); } 144 int ParameterCount() const { return scope()->num_parameters(); }
146 145
147 void Abort(const char* format, ...); 146 void Abort(const char* format, ...);
148 void Comment(const char* format, ...); 147 void Comment(const char* format, ...);
149 148
150 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code); } 149 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code); }
151 150
152 // Code generation passes. Returns true if code generation should 151 // Code generation passes. Returns true if code generation should
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 private: 287 private:
289 LCodeGen* codegen_; 288 LCodeGen* codegen_;
290 Label entry_; 289 Label entry_;
291 Label exit_; 290 Label exit_;
292 Label* external_exit_; 291 Label* external_exit_;
293 }; 292 };
294 293
295 } } // namespace v8::internal 294 } } // namespace v8::internal
296 295
297 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 296 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698