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

Side by Side Diff: src/assembler.h

Issue 197593003: Ensure that relocinfo's host code object is correctly reset on GC in TypeFeedbackOracle::RelocateRe… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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/type-info.h » ('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 (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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 // Accessors 372 // Accessors
373 byte* pc() const { return pc_; } 373 byte* pc() const { return pc_; }
374 void set_pc(byte* pc) { pc_ = pc; } 374 void set_pc(byte* pc) { pc_ = pc; }
375 Mode rmode() const { return rmode_; } 375 Mode rmode() const { return rmode_; }
376 intptr_t data() const { return data_; } 376 intptr_t data() const { return data_; }
377 double data64() const { return data64_; } 377 double data64() const { return data64_; }
378 uint64_t raw_data64() { 378 uint64_t raw_data64() {
379 return BitCast<uint64_t>(data64_); 379 return BitCast<uint64_t>(data64_);
380 } 380 }
381 Code* host() const { return host_; } 381 Code* host() const { return host_; }
382 void set_host(Code* host) { host_ = host; }
382 383
383 // Apply a relocation by delta bytes 384 // Apply a relocation by delta bytes
384 INLINE(void apply(intptr_t delta)); 385 INLINE(void apply(intptr_t delta));
385 386
386 // Is the pointer this relocation info refers to coded like a plain pointer 387 // Is the pointer this relocation info refers to coded like a plain pointer
387 // or is it strange in some way (e.g. relative or patched into a series of 388 // or is it strange in some way (e.g. relative or patched into a series of
388 // instructions). 389 // instructions).
389 bool IsCodedSpecially(); 390 bool IsCodedSpecially();
390 391
391 // If true, the pointer this relocation info refers to is an entry in the 392 // If true, the pointer this relocation info refers to is an entry in the
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
1061 1062
1062 private: 1063 private:
1063 int32_t multiplier_; 1064 int32_t multiplier_;
1064 int32_t shift_; 1065 int32_t shift_;
1065 }; 1066 };
1066 1067
1067 1068
1068 } } // namespace v8::internal 1069 } } // namespace v8::internal
1069 1070
1070 #endif // V8_ASSEMBLER_H_ 1071 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « no previous file | src/type-info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698