Index: src/codegen-arm.cc |
=================================================================== |
--- src/codegen-arm.cc (revision 805) |
+++ src/codegen-arm.cc (working copy) |
@@ -2320,6 +2320,12 @@ |
// is resolved in cache misses (this also holds for megamorphic calls). |
// ------------------------------------------------------------------------ |
+ if (node->eval_type() == Call::POTENTIALLY_DIRECT) { |
+ __ CallRuntime(Runtime::kSetInPotentiallyDirectEval, 0); |
+ } else { |
+ __ CallRuntime(Runtime::kClearInPotentiallyDirectEval, 0); |
+ } |
+ |
if (var != NULL && !var->is_this() && var->is_global()) { |
// ---------------------------------- |
// JavaScript example: 'foo(1, 2, 3)' // foo is global |