| Index: src/mark-compact.cc
|
| diff --git a/src/mark-compact.cc b/src/mark-compact.cc
|
| index 68a506226de6afd89dab87dc9dc671d1a7989410..b56adb63844fa5e8ea1545709b92f5ee822900c6 100644
|
| --- a/src/mark-compact.cc
|
| +++ b/src/mark-compact.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2006-2008 the V8 project authors. All rights reserved.
|
| +// Copyright 2011 the V8 project authors. All rights reserved.
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| // met:
|
| @@ -305,13 +305,11 @@ class CodeFlusher {
|
| *GetNextCandidateField(candidate) = next_candidate;
|
| }
|
|
|
| - STATIC_ASSERT(kPointerSize <= Code::kHeaderSize - Code::kHeaderPaddingStart);
|
| -
|
| static SharedFunctionInfo** GetNextCandidateField(
|
| SharedFunctionInfo* candidate) {
|
| Code* code = candidate->unchecked_code();
|
| return reinterpret_cast<SharedFunctionInfo**>(
|
| - code->address() + Code::kHeaderPaddingStart);
|
| + code->address() + Code::kNextCodeFlushingCandidateOffset);
|
| }
|
|
|
| static SharedFunctionInfo* GetNextCandidate(SharedFunctionInfo* candidate) {
|
|
|