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

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

Issue 9110029: Fix test-hashing after recent changes to string hashing. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 11 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/deoptimizer-arm.cc » ('j') | src/mips/builtins-mips.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after
1075 // Clear the context before we push it when entering the internal frame. 1075 // Clear the context before we push it when entering the internal frame.
1076 __ mov(cp, Operand(0, RelocInfo::NONE)); 1076 __ mov(cp, Operand(0, RelocInfo::NONE));
1077 1077
1078 // Enter an internal frame. 1078 // Enter an internal frame.
1079 { 1079 {
1080 FrameScope scope(masm, StackFrame::INTERNAL); 1080 FrameScope scope(masm, StackFrame::INTERNAL);
1081 1081
1082 // Set up the context from the function argument. 1082 // Set up the context from the function argument.
1083 __ ldr(cp, FieldMemOperand(r1, JSFunction::kContextOffset)); 1083 __ ldr(cp, FieldMemOperand(r1, JSFunction::kContextOffset));
1084 1084
1085 // Set up the roots register. 1085 __ InitializeRootRegister();
1086 ExternalReference roots_array_start =
1087 ExternalReference::roots_array_start(masm->isolate());
1088 __ mov(r10, Operand(roots_array_start));
1089 1086
1090 // Push the function and the receiver onto the stack. 1087 // Push the function and the receiver onto the stack.
1091 __ push(r1); 1088 __ push(r1);
1092 __ push(r2); 1089 __ push(r2);
1093 1090
1094 // Copy arguments to the stack in a loop. 1091 // Copy arguments to the stack in a loop.
1095 // r1: function 1092 // r1: function
1096 // r3: argc 1093 // r3: argc
1097 // r4: argv, i.e. points to first arg 1094 // r4: argv, i.e. points to first arg
1098 Label loop, entry; 1095 Label loop, entry;
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
1774 __ bind(&dont_adapt_arguments); 1771 __ bind(&dont_adapt_arguments);
1775 __ Jump(r3); 1772 __ Jump(r3);
1776 } 1773 }
1777 1774
1778 1775
1779 #undef __ 1776 #undef __
1780 1777
1781 } } // namespace v8::internal 1778 } } // namespace v8::internal
1782 1779
1783 #endif // V8_TARGET_ARCH_ARM 1780 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm/deoptimizer-arm.cc » ('j') | src/mips/builtins-mips.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698