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

Side by Side Diff: src/mips/macro-assembler-mips.cc

Issue 17064002: 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 | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/stub-cache-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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 Register src1, const Operand& src2) { 78 Register src1, const Operand& src2) {
79 Branch(2, NegateCondition(cond), src1, src2); 79 Branch(2, NegateCondition(cond), src1, src2);
80 sw(source, MemOperand(s6, index << kPointerSizeLog2)); 80 sw(source, MemOperand(s6, index << kPointerSizeLog2));
81 } 81 }
82 82
83 83
84 void MacroAssembler::LoadHeapObject(Register result, 84 void MacroAssembler::LoadHeapObject(Register result,
85 Handle<HeapObject> object) { 85 Handle<HeapObject> object) {
86 AllowDeferredHandleDereference using_raw_address; 86 AllowDeferredHandleDereference using_raw_address;
87 if (isolate()->heap()->InNewSpace(*object)) { 87 if (isolate()->heap()->InNewSpace(*object)) {
88 Handle<JSGlobalPropertyCell> cell = 88 Handle<PropertyCell> cell =
89 isolate()->factory()->NewJSGlobalPropertyCell(object); 89 isolate()->factory()->NewPropertyCell(object);
90 li(result, Operand(cell)); 90 li(result, Operand(cell));
91 lw(result, FieldMemOperand(result, JSGlobalPropertyCell::kValueOffset)); 91 lw(result, FieldMemOperand(result, JSGlobalPropertyCell::kValueOffset));
92 } else { 92 } else {
93 li(result, Operand(object)); 93 li(result, Operand(object));
94 } 94 }
95 } 95 }
96 96
97 97
98 // Push and pop all registers that can hold pointers. 98 // Push and pop all registers that can hold pointers.
99 void MacroAssembler::PushSafepointRegisters() { 99 void MacroAssembler::PushSafepointRegisters() {
(...skipping 5427 matching lines...) Expand 10 before | Expand all | Expand 10 after
5527 opcode == BGTZL); 5527 opcode == BGTZL);
5528 opcode = (cond == eq) ? BEQ : BNE; 5528 opcode = (cond == eq) ? BEQ : BNE;
5529 instr = (instr & ~kOpcodeMask) | opcode; 5529 instr = (instr & ~kOpcodeMask) | opcode;
5530 masm_.emit(instr); 5530 masm_.emit(instr);
5531 } 5531 }
5532 5532
5533 5533
5534 } } // namespace v8::internal 5534 } } // namespace v8::internal
5535 5535
5536 #endif // V8_TARGET_ARCH_MIPS 5536 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/stub-cache-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698