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

Side by Side Diff: src/arm/full-codegen-arm.cc

Issue 16337005: Deprecate FACTORY helper macro. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 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 | « src/arm/code-stubs-arm.cc ('k') | src/arm/regexp-macro-assembler-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 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 2995 matching lines...) Expand 10 before | Expand all | Expand 10 after
3006 // Calculate location of the first key name. 3006 // Calculate location of the first key name.
3007 __ add(r4, r4, Operand(DescriptorArray::kFirstOffset - kHeapObjectTag)); 3007 __ add(r4, r4, Operand(DescriptorArray::kFirstOffset - kHeapObjectTag));
3008 // Calculate the end of the descriptor array. 3008 // Calculate the end of the descriptor array.
3009 __ mov(r2, r4); 3009 __ mov(r2, r4);
3010 __ add(r2, r2, Operand::PointerOffsetFromSmiKey(r3)); 3010 __ add(r2, r2, Operand::PointerOffsetFromSmiKey(r3));
3011 3011
3012 // Loop through all the keys in the descriptor array. If one of these is the 3012 // Loop through all the keys in the descriptor array. If one of these is the
3013 // string "valueOf" the result is false. 3013 // string "valueOf" the result is false.
3014 // The use of ip to store the valueOf string assumes that it is not otherwise 3014 // The use of ip to store the valueOf string assumes that it is not otherwise
3015 // used in the loop below. 3015 // used in the loop below.
3016 __ mov(ip, Operand(FACTORY->value_of_string())); 3016 __ mov(ip, Operand(isolate()->factory()->value_of_string()));
3017 __ jmp(&entry); 3017 __ jmp(&entry);
3018 __ bind(&loop); 3018 __ bind(&loop);
3019 __ ldr(r3, MemOperand(r4, 0)); 3019 __ ldr(r3, MemOperand(r4, 0));
3020 __ cmp(r3, ip); 3020 __ cmp(r3, ip);
3021 __ b(eq, if_false); 3021 __ b(eq, if_false);
3022 __ add(r4, r4, Operand(DescriptorArray::kDescriptorSize * kPointerSize)); 3022 __ add(r4, r4, Operand(DescriptorArray::kDescriptorSize * kPointerSize));
3023 __ bind(&entry); 3023 __ bind(&entry);
3024 __ cmp(r4, Operand(r2)); 3024 __ cmp(r4, Operand(r2));
3025 __ b(ne, &loop); 3025 __ b(ne, &loop);
3026 3026
(...skipping 1850 matching lines...) Expand 10 before | Expand all | Expand 10 after
4877 *context_length = 0; 4877 *context_length = 0;
4878 return previous_; 4878 return previous_;
4879 } 4879 }
4880 4880
4881 4881
4882 #undef __ 4882 #undef __
4883 4883
4884 } } // namespace v8::internal 4884 } } // namespace v8::internal
4885 4885
4886 #endif // V8_TARGET_ARCH_ARM 4886 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/regexp-macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698