[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:
Toon Verwaest 2017-10-09 19:35:30 +02:00 committed by Commit Bot
parent 5bd74f3124
commit b2523d349b
6 changed files with 0 additions and 30 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);