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

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: adding more tests Created 4 years, 8 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/deoptimizer.cc
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc
index de57bf33e529f75dc964faf9053fe3ce60d8f701..055ebb5f31d97a260acf450b8429499cebe03017 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();
}
}
@@ -385,7 +385,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();
}
}
@@ -403,7 +403,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();
}
}
@@ -660,7 +660,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') | src/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698