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

Side by Side Diff: src/x64/lithium-codegen-x64.cc

Issue 6572002: Temporarily disable DoStoreContextSlot in x64 lithium codegen to diagnose non... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 10 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/x64/lithium-x64.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 2191 matching lines...) Expand 10 before | Expand all | Expand 10 after
2202 void LCodeGen::DoContext(LContext* instr) { 2202 void LCodeGen::DoContext(LContext* instr) {
2203 Register result = ToRegister(instr->result()); 2203 Register result = ToRegister(instr->result());
2204 __ movq(result, Operand(rbp, StandardFrameConstants::kContextOffset)); 2204 __ movq(result, Operand(rbp, StandardFrameConstants::kContextOffset));
2205 } 2205 }
2206 2206
2207 2207
2208 void LCodeGen::DoOuterContext(LOuterContext* instr) { 2208 void LCodeGen::DoOuterContext(LOuterContext* instr) {
2209 Register context = ToRegister(instr->context()); 2209 Register context = ToRegister(instr->context());
2210 Register result = ToRegister(instr->result()); 2210 Register result = ToRegister(instr->result());
2211 __ movq(result, 2211 __ movq(result,
2212 » Operand(context, Context::SlotOffset(Context::CLOSURE_INDEX))); 2212 Operand(context, Context::SlotOffset(Context::CLOSURE_INDEX)));
2213 __ movq(result, FieldOperand(result, JSFunction::kContextOffset)); 2213 __ movq(result, FieldOperand(result, JSFunction::kContextOffset));
2214 } 2214 }
2215 2215
2216 2216
2217 void LCodeGen::DoGlobalObject(LGlobalObject* instr) { 2217 void LCodeGen::DoGlobalObject(LGlobalObject* instr) {
2218 Register result = ToRegister(instr->result()); 2218 Register result = ToRegister(instr->result());
2219 __ movq(result, GlobalObjectOperand()); 2219 __ movq(result, GlobalObjectOperand());
2220 } 2220 }
2221 2221
2222 2222
(...skipping 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after
3435 RegisterEnvironmentForDeoptimization(environment); 3435 RegisterEnvironmentForDeoptimization(environment);
3436 ASSERT(osr_pc_offset_ == -1); 3436 ASSERT(osr_pc_offset_ == -1);
3437 osr_pc_offset_ = masm()->pc_offset(); 3437 osr_pc_offset_ = masm()->pc_offset();
3438 } 3438 }
3439 3439
3440 #undef __ 3440 #undef __
3441 3441
3442 } } // namespace v8::internal 3442 } } // namespace v8::internal
3443 3443
3444 #endif // V8_TARGET_ARCH_X64 3444 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « no previous file | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698