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

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: 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
« src/arm/assembler-arm.cc ('K') | « 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 uint64_t tmp;
377 memcpy(&tmp, &data64_, sizeof(tmp));
Benedikt Meurer 2013/11/15 08:47:01 Same as above.
Rodolph Perfetta 2013/11/15 11:04:26 Done.
378 return tmp;
379 }
375 Code* host() const { return host_; } 380 Code* host() const { return host_; }
376 381
377 // Apply a relocation by delta bytes 382 // Apply a relocation by delta bytes
378 INLINE(void apply(intptr_t delta)); 383 INLINE(void apply(intptr_t delta));
379 384
380 // Is the pointer this relocation info refers to coded like a plain pointer 385 // 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 386 // or is it strange in some way (e.g. relative or patched into a series of
382 // instructions). 387 // instructions).
383 bool IsCodedSpecially(); 388 bool IsCodedSpecially();
384 389
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 public: 1071 public:
1067 NullCallWrapper() { } 1072 NullCallWrapper() { }
1068 virtual ~NullCallWrapper() { } 1073 virtual ~NullCallWrapper() { }
1069 virtual void BeforeCall(int call_size) const { } 1074 virtual void BeforeCall(int call_size) const { }
1070 virtual void AfterCall() const { } 1075 virtual void AfterCall() const { }
1071 }; 1076 };
1072 1077
1073 } } // namespace v8::internal 1078 } } // namespace v8::internal
1074 1079
1075 #endif // V8_ASSEMBLER_H_ 1080 #endif // V8_ASSEMBLER_H_
OLDNEW
« src/arm/assembler-arm.cc ('K') | « src/arm/assembler-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698