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

Unified Diff: src/deoptimizer.cc

Issue 1409123003: [runtime] Avoid @@isConcatSpreadable lookup for fast path Array.prototype.concat (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: merging with master Created 4 years, 7 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
« no previous file with comments | « src/crankshaft/x87/lithium-codegen-x87.cc ('k') | src/elements.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/deoptimizer.cc
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc
index 18a1aa01aa77f1079d551de4418ee556c658c887..9243e9e52f22347d405e79ac40356539c4e5d9b2 100644
--- a/src/deoptimizer.cc
+++ b/src/deoptimizer.cc
@@ -228,7 +228,7 @@ void Deoptimizer::VisitAllOptimizedFunctions(
Object* context = isolate->heap()->native_contexts_list();
while (!context->IsUndefined()) {
VisitAllOptimizedFunctionsForContext(Context::cast(context), visitor);
- context = Context::cast(context)->get(Context::NEXT_CONTEXT_LINK);
+ context = Context::cast(context)->next_context_link();
}
}
@@ -387,7 +387,7 @@ void Deoptimizer::DeoptimizeAll(Isolate* isolate) {
Context* native_context = Context::cast(context);
MarkAllCodeForContext(native_context);
DeoptimizeMarkedCodeForContext(native_context);
- context = native_context->get(Context::NEXT_CONTEXT_LINK);
+ context = native_context->next_context_link();
}
}
@@ -405,7 +405,7 @@ void Deoptimizer::DeoptimizeMarkedCode(Isolate* isolate) {
while (!context->IsUndefined()) {
Context* native_context = Context::cast(context);
DeoptimizeMarkedCodeForContext(native_context);
- context = native_context->get(Context::NEXT_CONTEXT_LINK);
+ context = native_context->next_context_link();
}
}
@@ -662,7 +662,7 @@ int Deoptimizer::GetDeoptimizedCodeCount(Isolate* isolate) {
length++;
element = code->next_code_link();
}
- context = Context::cast(context)->get(Context::NEXT_CONTEXT_LINK);
+ context = Context::cast(context)->next_context_link();
}
return length;
}
« no previous file with comments | « src/crankshaft/x87/lithium-codegen-x87.cc ('k') | src/elements.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698