Reviewers: Kasper Lund, Description: Fix think in IC code.
Please review this at http://codereview.chromium.org/149175 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/arm/ic-arm.cc M src/ia32/ic-ia32.cc Index: src/ia32/ic-ia32.cc =================================================================== --- src/ia32/ic-ia32.cc (revision 2339) +++ src/ia32/ic-ia32.cc (working copy) @@ -70,7 +70,7 @@ // Jump to miss if the interceptor bit is set. __ j(not_zero, miss_label, not_taken); - // Bail out if we have a JS global object. + // Bail out if we have a JS global proxy object. __ movzx_b(r0, FieldOperand(r0, Map::kInstanceTypeOffset)); __ cmp(r0, JS_GLOBAL_PROXY_TYPE); __ j(equal, miss_label, not_taken); Index: src/arm/ic-arm.cc =================================================================== --- src/arm/ic-arm.cc (revision 2339) +++ src/arm/ic-arm.cc (working copy) @@ -72,9 +72,9 @@ // Jump to miss if the interceptor bit is set. __ b(ne, miss); - // Bail out if we have a JS global object. + // Bail out if we have a JS global proxy object. __ ldrb(r3, FieldMemOperand(t0, Map::kInstanceTypeOffset)); - __ cmp(r3, Operand(JS_GLOBAL_OBJECT_TYPE)); + __ cmp(r3, Operand(JS_GLOBAL_PROXY_TYPE)); __ b(eq, miss); // Check that the properties array is a dictionary. --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
