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

Side by Side Diff: src/arm/assembler-arm.h

Issue 7021007: Optimise the deoptimisation check to improve performance on modern ARM cores.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 7 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 | « no previous file | src/arm/lithium-codegen-arm.h » ('j') | src/arm/lithium-codegen-arm.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 1202 matching lines...) Expand 10 before | Expand all | Expand 10 after
1213 static bool IsLdrPcImmediateOffset(Instr instr); 1213 static bool IsLdrPcImmediateOffset(Instr instr);
1214 static bool IsTstImmediate(Instr instr); 1214 static bool IsTstImmediate(Instr instr);
1215 static bool IsCmpRegister(Instr instr); 1215 static bool IsCmpRegister(Instr instr);
1216 static bool IsCmpImmediate(Instr instr); 1216 static bool IsCmpImmediate(Instr instr);
1217 static Register GetCmpImmediateRegister(Instr instr); 1217 static Register GetCmpImmediateRegister(Instr instr);
1218 static int GetCmpImmediateRawImmediate(Instr instr); 1218 static int GetCmpImmediateRawImmediate(Instr instr);
1219 static bool IsNop(Instr instr, int type = NON_MARKING_NOP); 1219 static bool IsNop(Instr instr, int type = NON_MARKING_NOP);
1220 1220
1221 // Check if is time to emit a constant pool for pending reloc info entries 1221 // Check if is time to emit a constant pool for pending reloc info entries
1222 void CheckConstPool(bool force_emit, bool require_jump); 1222 void CheckConstPool(bool force_emit, bool require_jump);
1223 static int MaxNumPRInfo() { return kMaxNumPRInfo; }
Søren Thygesen Gjesse 2011/05/18 06:47:13 No need to make accessors for constants - just mak
Alexandre 2011/05/18 09:13:07 Done. I hesitated to do so as everything was decla
1223 1224
1224 protected: 1225 protected:
1225 // Relocation for a type-recording IC has the AST id added to it. This 1226 // Relocation for a type-recording IC has the AST id added to it. This
1226 // member variable is a way to pass the information from the call site to 1227 // member variable is a way to pass the information from the call site to
1227 // the relocation info. 1228 // the relocation info.
1228 unsigned ast_id_for_reloc_info_; 1229 unsigned ast_id_for_reloc_info_;
1229 1230
1230 bool emit_debug_code() const { return emit_debug_code_; } 1231 bool emit_debug_code() const { return emit_debug_code_; }
1231 1232
1232 int buffer_space() const { return reloc_info_writer.pos() - pc_; } 1233 int buffer_space() const { return reloc_info_writer.pos() - pc_; }
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
1366 public: 1367 public:
1367 explicit EnsureSpace(Assembler* assembler) { 1368 explicit EnsureSpace(Assembler* assembler) {
1368 assembler->CheckBuffer(); 1369 assembler->CheckBuffer();
1369 } 1370 }
1370 }; 1371 };
1371 1372
1372 1373
1373 } } // namespace v8::internal 1374 } } // namespace v8::internal
1374 1375
1375 #endif // V8_ARM_ASSEMBLER_ARM_H_ 1376 #endif // V8_ARM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-codegen-arm.h » ('j') | src/arm/lithium-codegen-arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698