[macro-assembler] Delete unused LoadGlobalObject
Bug: Change-Id: I78403ce3c36f3c8276358f0bafff88131b2c7c00 Reviewed-on: https://chromium-review.googlesource.com/707316 Reviewed-by: Camillo Bruni <cbruni@chromium.org> Commit-Queue: Toon Verwaest <verwaest@chromium.org> Cr-Commit-Position: refs/heads/master@{#48401}
This commit is contained in:
parent
5bd74f3124
commit
b2523d349b
@ -683,11 +683,6 @@ class MacroAssembler : public TurboAssembler {
|
||||
bool restore_context,
|
||||
bool argument_count_is_length = false);
|
||||
|
||||
// Load the global object from the current context.
|
||||
void LoadGlobalObject(Register dst) {
|
||||
LoadNativeContextSlot(Context::EXTENSION_INDEX, dst);
|
||||
}
|
||||
|
||||
// Load the global proxy from the current context.
|
||||
void LoadGlobalProxy(Register dst) {
|
||||
LoadNativeContextSlot(Context::GLOBAL_PROXY_INDEX, dst);
|
||||
|
@ -1997,11 +1997,6 @@ class MacroAssembler : public TurboAssembler {
|
||||
const Register& scratch,
|
||||
bool restore_context);
|
||||
|
||||
// Load the global object from the current context.
|
||||
void LoadGlobalObject(Register dst) {
|
||||
LoadNativeContextSlot(Context::EXTENSION_INDEX, dst);
|
||||
}
|
||||
|
||||
// Load the global proxy from the current context.
|
||||
void LoadGlobalProxy(Register dst) {
|
||||
LoadNativeContextSlot(Context::GLOBAL_PROXY_INDEX, dst);
|
||||
|
@ -1041,11 +1041,6 @@ class MacroAssembler : public TurboAssembler {
|
||||
// Make sure the stack is aligned. Only emits code in debug mode.
|
||||
void AssertStackIsAligned();
|
||||
|
||||
// Load the global object from the current context.
|
||||
void LoadGlobalObject(Register dst) {
|
||||
LoadNativeContextSlot(Context::EXTENSION_INDEX, dst);
|
||||
}
|
||||
|
||||
// Load the global proxy from the current context.
|
||||
void LoadGlobalProxy(Register dst) {
|
||||
LoadNativeContextSlot(Context::GLOBAL_PROXY_INDEX, dst);
|
||||
|
@ -1114,11 +1114,6 @@ class MacroAssembler : public TurboAssembler {
|
||||
// Make sure the stack is aligned. Only emits code in debug mode.
|
||||
void AssertStackIsAligned();
|
||||
|
||||
// Load the global object from the current context.
|
||||
void LoadGlobalObject(Register dst) {
|
||||
LoadNativeContextSlot(Context::EXTENSION_INDEX, dst);
|
||||
}
|
||||
|
||||
// Load the global proxy from the current context.
|
||||
void LoadGlobalProxy(Register dst) {
|
||||
LoadNativeContextSlot(Context::GLOBAL_PROXY_INDEX, dst);
|
||||
|
@ -746,11 +746,6 @@ class MacroAssembler : public TurboAssembler {
|
||||
bool restore_context,
|
||||
bool argument_count_is_length = false);
|
||||
|
||||
// Load the global object from the current context.
|
||||
void LoadGlobalObject(Register dst) {
|
||||
LoadNativeContextSlot(Context::EXTENSION_INDEX, dst);
|
||||
}
|
||||
|
||||
// Load the global proxy from the current context.
|
||||
void LoadGlobalProxy(Register dst) {
|
||||
LoadNativeContextSlot(Context::GLOBAL_PROXY_INDEX, dst);
|
||||
|
@ -1178,11 +1178,6 @@ class MacroAssembler : public TurboAssembler {
|
||||
void EnterBuiltinFrame(Register context, Register target, Register argc);
|
||||
void LeaveBuiltinFrame(Register context, Register target, Register argc);
|
||||
|
||||
// Load the global object from the current context.
|
||||
void LoadGlobalObject(Register dst) {
|
||||
LoadNativeContextSlot(Context::EXTENSION_INDEX, dst);
|
||||
}
|
||||
|
||||
// Load the global proxy from the current context.
|
||||
void LoadGlobalProxy(Register dst) {
|
||||
LoadNativeContextSlot(Context::GLOBAL_PROXY_INDEX, dst);
|
||||
|
Loading…
Reference in New Issue
Block a user