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/codegen-arm.cc

Issue 11563: Fixing the detection of aliased eval so that it is exact.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 12 years, 1 month 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/ast.cc ('k') | src/codegen-ia32.cc » ('j') | test/cctest/test-api.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « src/ast.cc ('k') | src/codegen-ia32.cc » ('j') | test/cctest/test-api.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698