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

Side by Side Diff: src/arm/ic-arm.cc

Issue 2005005: Fix virtual frame height on ARM... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 7 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 | src/arm/virtual-frame-arm.cc » ('j') | 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-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 823 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 #endif 834 #endif
835 835
836 // Check if key is a heap number. 836 // Check if key is a heap number.
837 __ bind(&index_not_smi); 837 __ bind(&index_not_smi);
838 __ CheckMap(index, scratch, Factory::heap_number_map(), &miss, true); 838 __ CheckMap(index, scratch, Factory::heap_number_map(), &miss, true);
839 839
840 // Push receiver and key on the stack (now that we know they are a 840 // Push receiver and key on the stack (now that we know they are a
841 // string and a number), and call runtime. 841 // string and a number), and call runtime.
842 __ bind(&slow_char_code); 842 __ bind(&slow_char_code);
843 __ EnterInternalFrame(); 843 __ EnterInternalFrame();
844 ASSERT(object.code() > index.code());
845 __ Push(object, index); 844 __ Push(object, index);
846 __ CallRuntime(Runtime::kStringCharCodeAt, 2); 845 __ CallRuntime(Runtime::kStringCharCodeAt, 2);
847 ASSERT(!code.is(r0)); 846 ASSERT(!code.is(r0));
848 __ mov(code, r0); 847 __ mov(code, r0);
849 __ LeaveInternalFrame(); 848 __ LeaveInternalFrame();
850 849
851 // Check if the runtime call returned NaN char code. If yes, return 850 // Check if the runtime call returned NaN char code. If yes, return
852 // undefined. Otherwise, we can continue. 851 // undefined. Otherwise, we can continue.
853 if (FLAG_debug_code) { 852 if (FLAG_debug_code) {
854 __ BranchOnSmi(code, &got_char_code); 853 __ BranchOnSmi(code, &got_char_code);
(...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after
1832 __ bind(&miss); 1831 __ bind(&miss);
1833 1832
1834 GenerateMiss(masm); 1833 GenerateMiss(masm);
1835 } 1834 }
1836 1835
1837 1836
1838 #undef __ 1837 #undef __
1839 1838
1840 1839
1841 } } // namespace v8::internal 1840 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/arm/virtual-frame-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698