Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Unified Diff: src/code-stubs.cc

Issue 1238143002: [stubs] Optimize LoadGlobalViaContextStub and StoreGlobalViaContextStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix ARM typo. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/code-stubs.cc
diff --git a/src/code-stubs.cc b/src/code-stubs.cc
index e6720dfe7b6c7eaac2e7e1124b0db8c5bb9dc47d..877da682f2ce2589800d2a00e41594d6dd17d843 100644
--- a/src/code-stubs.cc
+++ b/src/code-stubs.cc
@@ -726,20 +726,6 @@ void RegExpConstructResultStub::InitializeDescriptor(
}
-void LoadGlobalViaContextStub::InitializeDescriptor(
- CodeStubDescriptor* descriptor) {
- // Must never deoptimize.
- descriptor->Initialize(FUNCTION_ADDR(UnexpectedStubMiss));
-}
-
-
-void StoreGlobalViaContextStub::InitializeDescriptor(
- CodeStubDescriptor* descriptor) {
- // Must never deoptimize.
- descriptor->Initialize(FUNCTION_ADDR(UnexpectedStubMiss));
-}
-
-
void TransitionElementsKindStub::InitializeDescriptor(
CodeStubDescriptor* descriptor) {
descriptor->Initialize(
« no previous file with comments | « src/code-stubs.h ('k') | src/code-stubs-hydrogen.cc » ('j') | src/mips/code-stubs-mips.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698