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

Side by Side Diff: src/assembler.h

Issue 1011613003: Fix RelocInfo::Mode enum wrt LAST_STANDARD_NONCOMPACT_ENUM. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: addressed comment Created 5 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
« no previous file with comments | « no previous file | src/assembler.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 (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 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 // code aging. 398 // code aging.
399 399
400 FIRST_REAL_RELOC_MODE = CODE_TARGET, 400 FIRST_REAL_RELOC_MODE = CODE_TARGET,
401 LAST_REAL_RELOC_MODE = VENEER_POOL, 401 LAST_REAL_RELOC_MODE = VENEER_POOL,
402 FIRST_PSEUDO_RELOC_MODE = CODE_AGE_SEQUENCE, 402 FIRST_PSEUDO_RELOC_MODE = CODE_AGE_SEQUENCE,
403 LAST_PSEUDO_RELOC_MODE = CODE_AGE_SEQUENCE, 403 LAST_PSEUDO_RELOC_MODE = CODE_AGE_SEQUENCE,
404 LAST_CODE_ENUM = DEBUG_BREAK, 404 LAST_CODE_ENUM = DEBUG_BREAK,
405 LAST_GCED_ENUM = CELL, 405 LAST_GCED_ENUM = CELL,
406 // Modes <= LAST_COMPACT_ENUM are guaranteed to have compact encoding. 406 // Modes <= LAST_COMPACT_ENUM are guaranteed to have compact encoding.
407 LAST_COMPACT_ENUM = CODE_TARGET_WITH_ID, 407 LAST_COMPACT_ENUM = CODE_TARGET_WITH_ID,
408 LAST_STANDARD_NONCOMPACT_ENUM = INTERNAL_REFERENCE 408 LAST_STANDARD_NONCOMPACT_ENUM = INTERNAL_REFERENCE_ENCODED
409 }; 409 };
410 410
411 RelocInfo() {} 411 RelocInfo() {}
412 412
413 RelocInfo(byte* pc, Mode rmode, intptr_t data, Code* host) 413 RelocInfo(byte* pc, Mode rmode, intptr_t data, Code* host)
414 : pc_(pc), rmode_(rmode), data_(data), host_(host) { 414 : pc_(pc), rmode_(rmode), data_(data), host_(host) {
415 } 415 }
416 RelocInfo(byte* pc, double data64) 416 RelocInfo(byte* pc, double data64)
417 : pc_(pc), rmode_(NONE64), data64_(data64), host_(NULL) { 417 : pc_(pc), rmode_(NONE64), data64_(data64), host_(NULL) {
418 } 418 }
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after
1165 NullCallWrapper() { } 1165 NullCallWrapper() { }
1166 virtual ~NullCallWrapper() { } 1166 virtual ~NullCallWrapper() { }
1167 virtual void BeforeCall(int call_size) const { } 1167 virtual void BeforeCall(int call_size) const { }
1168 virtual void AfterCall() const { } 1168 virtual void AfterCall() const { }
1169 }; 1169 };
1170 1170
1171 1171
1172 } } // namespace v8::internal 1172 } } // namespace v8::internal
1173 1173
1174 #endif // V8_ASSEMBLER_H_ 1174 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « no previous file | src/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698