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

Side by Side Diff: src/assembler.h

Issue 61763025: ARM: Merge redundant entries in literal pool. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review comments addressed. Created 7 years, 1 month 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/arm/assembler-arm.cc ('k') | no next file » | no next file with comments »
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 are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // 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 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 return mode == CODE_AGE_SEQUENCE; 365 return mode == CODE_AGE_SEQUENCE;
366 } 366 }
367 static inline int ModeMask(Mode mode) { return 1 << mode; } 367 static inline int ModeMask(Mode mode) { return 1 << mode; }
368 368
369 // Accessors 369 // Accessors
370 byte* pc() const { return pc_; } 370 byte* pc() const { return pc_; }
371 void set_pc(byte* pc) { pc_ = pc; } 371 void set_pc(byte* pc) { pc_ = pc; }
372 Mode rmode() const { return rmode_; } 372 Mode rmode() const { return rmode_; }
373 intptr_t data() const { return data_; } 373 intptr_t data() const { return data_; }
374 double data64() const { return data64_; } 374 double data64() const { return data64_; }
375 uint64_t raw_data64() {
376 return BitCast<uint64_t>(data64_);
377 }
375 Code* host() const { return host_; } 378 Code* host() const { return host_; }
376 379
377 // Apply a relocation by delta bytes 380 // Apply a relocation by delta bytes
378 INLINE(void apply(intptr_t delta)); 381 INLINE(void apply(intptr_t delta));
379 382
380 // Is the pointer this relocation info refers to coded like a plain pointer 383 // Is the pointer this relocation info refers to coded like a plain pointer
381 // or is it strange in some way (e.g. relative or patched into a series of 384 // or is it strange in some way (e.g. relative or patched into a series of
382 // instructions). 385 // instructions).
383 bool IsCodedSpecially(); 386 bool IsCodedSpecially();
384 387
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 public: 1069 public:
1067 NullCallWrapper() { } 1070 NullCallWrapper() { }
1068 virtual ~NullCallWrapper() { } 1071 virtual ~NullCallWrapper() { }
1069 virtual void BeforeCall(int call_size) const { } 1072 virtual void BeforeCall(int call_size) const { }
1070 virtual void AfterCall() const { } 1073 virtual void AfterCall() const { }
1071 }; 1074 };
1072 1075
1073 } } // namespace v8::internal 1076 } } // namespace v8::internal
1074 1077
1075 #endif // V8_ASSEMBLER_H_ 1078 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/arm/assembler-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698