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

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

Issue 150513002: A64: Todos - peek/poke and branch generator (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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/a64/lithium-a64.cc ('k') | src/a64/lithium-codegen-a64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 void EmitTestAndBranch(InstrType instr, 205 void EmitTestAndBranch(InstrType instr,
206 Condition condition, 206 Condition condition,
207 const Register& value, 207 const Register& value,
208 uint64_t mask); 208 uint64_t mask);
209 209
210 template<class InstrType> 210 template<class InstrType>
211 void EmitBranchIfNonZeroNumber(InstrType instr, 211 void EmitBranchIfNonZeroNumber(InstrType instr,
212 const FPRegister& value, 212 const FPRegister& value,
213 const FPRegister& scratch); 213 const FPRegister& scratch);
214 214
215 template<class InstrType>
216 void EmitBranchIfHeapNumber(InstrType instr,
217 const Register& value);
218
215 // Emits optimized code to deep-copy the contents of statically known object 219 // Emits optimized code to deep-copy the contents of statically known object
216 // graphs (e.g. object literal boilerplate). Expects a pointer to the 220 // graphs (e.g. object literal boilerplate). Expects a pointer to the
217 // allocated destination object in the result register, and a pointer to the 221 // allocated destination object in the result register, and a pointer to the
218 // source object in the source register. 222 // source object in the source register.
219 void EmitDeepCopy(Handle<JSObject> object, 223 void EmitDeepCopy(Handle<JSObject> object,
220 Register result, 224 Register result,
221 Register source, 225 Register source,
222 Register scratch, 226 Register scratch,
223 int* offset, 227 int* offset,
224 AllocationSiteMode mode); 228 AllocationSiteMode mode);
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 481
478 protected: 482 protected:
479 MacroAssembler* masm() const { return codegen_->masm(); } 483 MacroAssembler* masm() const { return codegen_->masm(); }
480 484
481 LCodeGen* codegen_; 485 LCodeGen* codegen_;
482 }; 486 };
483 487
484 } } // namespace v8::internal 488 } } // namespace v8::internal
485 489
486 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_ 490 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_
OLDNEW
« no previous file with comments | « src/a64/lithium-a64.cc ('k') | src/a64/lithium-codegen-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698