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

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

Issue 136203005: A64: Implement patchable inline code for InstanceOfKnownGlobal. (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/code-stubs-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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 LOperand* value, 169 LOperand* value,
170 LOperand* temp1, 170 LOperand* temp1,
171 LOperand* temp2, 171 LOperand* temp2,
172 IntegerSignedness signedness); 172 IntegerSignedness signedness);
173 void DoDeferredTaggedToI(LTaggedToI* instr, 173 void DoDeferredTaggedToI(LTaggedToI* instr,
174 LOperand* value, 174 LOperand* value,
175 LOperand* temp1, 175 LOperand* temp1,
176 LOperand* temp2); 176 LOperand* temp2);
177 void DoDeferredAllocate(LAllocate* instr); 177 void DoDeferredAllocate(LAllocate* instr);
178 178
179 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, 179 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr);
180 Label* map_check);
181 180
182 static Condition TokenToCondition(Token::Value op, bool is_unsigned); 181 static Condition TokenToCondition(Token::Value op, bool is_unsigned);
183 void EmitGoto(int block); 182 void EmitGoto(int block);
184 int GetNextEmittedBlock() const; 183 int GetNextEmittedBlock() const;
185 void DoGap(LGap* instr); 184 void DoGap(LGap* instr);
186 185
187 // Generic version of EmitBranch. It contains some code to avoid emitting a 186 // Generic version of EmitBranch. It contains some code to avoid emitting a
188 // branch on the next emitted basic block where we could just fall-through. 187 // branch on the next emitted basic block where we could just fall-through.
189 // You shouldn't use that directly but rather consider one of the helper like 188 // You shouldn't use that directly but rather consider one of the helper like
190 // LCodeGen::EmitBranch, LCodeGen::EmitCompareAndBranch... 189 // LCodeGen::EmitBranch, LCodeGen::EmitCompareAndBranch...
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 476
478 protected: 477 protected:
479 MacroAssembler* masm() const { return codegen_->masm(); } 478 MacroAssembler* masm() const { return codegen_->masm(); }
480 479
481 LCodeGen* codegen_; 480 LCodeGen* codegen_;
482 }; 481 };
483 482
484 } } // namespace v8::internal 483 } } // namespace v8::internal
485 484
486 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_ 485 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_
OLDNEW
« no previous file with comments | « src/a64/code-stubs-a64.cc ('k') | src/a64/lithium-codegen-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698