Bug 1360211: Remove EntryFrameLayout; r=jandem

--HG--
extra : rebase_source : 0fc6669c8d11d8adce3e366c371b4702d2ede134
This commit is contained in:
Benjamin Bouvier 2017-04-26 18:31:26 +02:00
Родитель c3dbe8b3b3
Коммит 87a000b325
2 изменённых файлов: 5 добавлений и 15 удалений

Просмотреть файл

@ -40,8 +40,6 @@ SizeOfFramePrefix = {
'JitFrame_BaselineJS': 'JitFrameLayout',
'JitFrame_BaselineStub': 'BaselineStubFrameLayout',
'JitFrame_IonStub': 'JitStubFrameLayout',
# Technically EntryFrameLayout, but that doesn't wind up in the
# debuginfo because there are no uses of it.
'JitFrame_Entry': 'JitFrameLayout',
'JitFrame_Rectifier': 'RectifierFrameLayout',
'JitFrame_IonAccessorIC': 'IonAccessorICFrameLayout',

Просмотреть файл

@ -95,10 +95,11 @@ ScriptFromCalleeToken(CalleeToken token)
// to. The exact mechanism in which frames are laid out is architecture
// dependent.
//
// Two special frame types exist. Entry frames begin an ion activation, and
// therefore there is exactly one per activation of jit::Cannon. Exit frames
// are necessary to leave JIT code and enter C++, and thus, C++ code will
// always begin iterating from the topmost exit frame.
// Two special frame types exist:
// - Entry frames begin a JitActivation, and therefore there is exactly one
// per activation of EnterIon or EnterBaseline. These reuse JitFrameLayout.
// - Exit frames are necessary to leave JIT code and enter C++, and thus,
// C++ code will always begin iterating from the topmost exit frame.
class LSafepoint;
@ -438,15 +439,6 @@ class JitFrameLayout : public CommonFrameLayout
}
};
// this is the layout of the frame that is used when we enter Ion code from platform ABI code
class EntryFrameLayout : public JitFrameLayout
{
public:
static inline size_t Size() {
return sizeof(EntryFrameLayout);
}
};
class RectifierFrameLayout : public JitFrameLayout
{
public: