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

Side by Side Diff: src/mips/code-stubs-mips.cc

Issue 17064007: MIPS: Refactor only: Rename JSGlobaPropertyCell to PropertyCell (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 | « no previous file | src/mips/lithium-codegen-mips.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 7759 matching lines...) Expand 10 before | Expand all | Expand 10 after
7770 __ lw(a3, FieldMemOperand(a2, 0)); 7770 __ lw(a3, FieldMemOperand(a2, 0));
7771 __ Assert(eq, "Expected property cell in register a2", 7771 __ Assert(eq, "Expected property cell in register a2",
7772 a3, Operand(cell_map)); 7772 a3, Operand(cell_map));
7773 __ bind(&okay_here); 7773 __ bind(&okay_here);
7774 } 7774 }
7775 7775
7776 if (FLAG_optimize_constructed_arrays) { 7776 if (FLAG_optimize_constructed_arrays) {
7777 Label no_info, switch_ready; 7777 Label no_info, switch_ready;
7778 // Get the elements kind and case on that. 7778 // Get the elements kind and case on that.
7779 __ Branch(&no_info, eq, a2, Operand(undefined_sentinel)); 7779 __ Branch(&no_info, eq, a2, Operand(undefined_sentinel));
7780 __ lw(a3, FieldMemOperand(a2, JSGlobalPropertyCell::kValueOffset)); 7780 __ lw(a3, FieldMemOperand(a2, PropertyCell::kValueOffset));
7781 __ JumpIfNotSmi(a3, &no_info); 7781 __ JumpIfNotSmi(a3, &no_info);
7782 __ SmiUntag(a3); 7782 __ SmiUntag(a3);
7783 __ jmp(&switch_ready); 7783 __ jmp(&switch_ready);
7784 __ bind(&no_info); 7784 __ bind(&no_info);
7785 __ li(a3, Operand(GetInitialFastElementsKind())); 7785 __ li(a3, Operand(GetInitialFastElementsKind()));
7786 __ bind(&switch_ready); 7786 __ bind(&switch_ready);
7787 7787
7788 if (argument_count_ == ANY) { 7788 if (argument_count_ == ANY) {
7789 Label not_zero_case, not_one_case; 7789 Label not_zero_case, not_one_case;
7790 __ And(at, a0, a0); 7790 __ And(at, a0, a0);
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
7915 __ Jump(generic_construct_stub, RelocInfo::CODE_TARGET); 7915 __ Jump(generic_construct_stub, RelocInfo::CODE_TARGET);
7916 } 7916 }
7917 } 7917 }
7918 7918
7919 7919
7920 #undef __ 7920 #undef __
7921 7921
7922 } } // namespace v8::internal 7922 } } // namespace v8::internal
7923 7923
7924 #endif // V8_TARGET_ARCH_MIPS 7924 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698