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

Side by Side Diff: src/arm/stub-cache-arm.cc

Issue 593080: Fix CallIC stub for CallInterceptor on ARM (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after
1094 masm(), 1094 masm(),
1095 JSObject::cast(object), 1095 JSObject::cast(object),
1096 holder, 1096 holder,
1097 name, 1097 name,
1098 &lookup, 1098 &lookup,
1099 r0, 1099 r0,
1100 r2, 1100 r2,
1101 r3, 1101 r3,
1102 &miss); 1102 &miss);
1103 1103
1104 // Move returned value, the function to call, to r1.
1105 __ mov(r1, r0);
1104 // Restore receiver. 1106 // Restore receiver.
1105 __ ldr(r0, MemOperand(sp, argc * kPointerSize)); 1107 __ ldr(r0, MemOperand(sp, argc * kPointerSize));
1106 1108
1107 GenerateCallFunction(masm(), object, arguments(), &miss); 1109 GenerateCallFunction(masm(), object, arguments(), &miss);
1108 1110
1109 // Handle call cache miss. 1111 // Handle call cache miss.
1110 __ bind(&miss); 1112 __ bind(&miss);
1111 Handle<Code> ic = ComputeCallMiss(arguments().immediate()); 1113 Handle<Code> ic = ComputeCallMiss(arguments().immediate());
1112 __ Jump(ic, RelocInfo::CODE_TARGET); 1114 __ Jump(ic, RelocInfo::CODE_TARGET);
1113 1115
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after
1858 __ Jump(generic_construct_stub, RelocInfo::CODE_TARGET); 1860 __ Jump(generic_construct_stub, RelocInfo::CODE_TARGET);
1859 1861
1860 // Return the generated code. 1862 // Return the generated code.
1861 return GetCode(); 1863 return GetCode();
1862 } 1864 }
1863 1865
1864 1866
1865 #undef __ 1867 #undef __
1866 1868
1867 } } // namespace v8::internal 1869 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698