Index: src/mark-compact.cc |
diff --git a/src/mark-compact.cc b/src/mark-compact.cc |
index 68a506226de6afd89dab87dc9dc671d1a7989410..8931e238a47538f8ce39ae0f1752fd3d1014cff9 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::kCodeFlushingCandidateOffset); |
} |
static SharedFunctionInfo* GetNextCandidate(SharedFunctionInfo* candidate) { |