Changeset 47022 in webkit for trunk/JavaScriptCore/interpreter
- Timestamp:
- Aug 10, 2009, 9:35:02 PM (16 years ago)
- Location:
- trunk/JavaScriptCore/interpreter
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/interpreter/Register.h
r46598 r47022 1 1 /* 2 * Copyright (C) 2008 Apple Inc. All rights reserved.2 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 57 57 58 58 bool marked() const; 59 void mark ();59 void markChildren(MarkStack&); 60 60 61 61 Register(JSActivation*); … … 121 121 } 122 122 123 ALWAYS_INLINE void Register::mark()124 {125 jsValue().mark();126 }127 128 123 // Interpreter functions 129 124 -
trunk/JavaScriptCore/interpreter/RegisterFile.h
r46025 r47022 1 1 /* 2 * Copyright (C) 2008 Apple Inc. All rights reserved.2 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 137 137 Register* lastGlobal() const { return m_start - m_numGlobals; } 138 138 139 void markGlobals( Heap* heap) { heap->markConservatively(lastGlobal(), m_start); }140 void markCallFrames( Heap* heap) { heap->markConservatively(m_start, m_end); }139 void markGlobals(MarkStack& markStack, Heap* heap) { heap->markConservatively(markStack, lastGlobal(), m_start); } 140 void markCallFrames(MarkStack& markStack, Heap* heap) { heap->markConservatively(markStack, m_start, m_end); } 141 141 142 142 private:
Note:
See TracChangeset
for help on using the changeset viewer.