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

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

Issue 178193026: Deoptimization fix for HPushArgument. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove dead code. Created 6 years, 9 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/hydrogen.cc ('k') | src/lithium.h » ('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 934 matching lines...) Expand 10 before | Expand all | Expand 10 after
945 if (op->IsStackSlot()) { 945 if (op->IsStackSlot()) {
946 if (is_tagged) { 946 if (is_tagged) {
947 translation->StoreStackSlot(op->index()); 947 translation->StoreStackSlot(op->index());
948 } else if (is_uint32) { 948 } else if (is_uint32) {
949 translation->StoreUint32StackSlot(op->index()); 949 translation->StoreUint32StackSlot(op->index());
950 } else { 950 } else {
951 translation->StoreInt32StackSlot(op->index()); 951 translation->StoreInt32StackSlot(op->index());
952 } 952 }
953 } else if (op->IsDoubleStackSlot()) { 953 } else if (op->IsDoubleStackSlot()) {
954 translation->StoreDoubleStackSlot(op->index()); 954 translation->StoreDoubleStackSlot(op->index());
955 } else if (op->IsArgument()) {
956 ASSERT(is_tagged);
957 int src_index = GetStackSlotCount() + op->index();
958 translation->StoreStackSlot(src_index);
959 } else if (op->IsRegister()) { 955 } else if (op->IsRegister()) {
960 Register reg = ToRegister(op); 956 Register reg = ToRegister(op);
961 if (is_tagged) { 957 if (is_tagged) {
962 translation->StoreRegister(reg); 958 translation->StoreRegister(reg);
963 } else if (is_uint32) { 959 } else if (is_uint32) {
964 translation->StoreUint32Register(reg); 960 translation->StoreUint32Register(reg);
965 } else { 961 } else {
966 translation->StoreInt32Register(reg); 962 translation->StoreInt32Register(reg);
967 } 963 }
968 } else if (op->IsDoubleRegister()) { 964 } else if (op->IsDoubleRegister()) {
(...skipping 5312 matching lines...) Expand 10 before | Expand all | Expand 10 after
6281 FixedArray::kHeaderSize - kPointerSize)); 6277 FixedArray::kHeaderSize - kPointerSize));
6282 __ bind(&done); 6278 __ bind(&done);
6283 } 6279 }
6284 6280
6285 6281
6286 #undef __ 6282 #undef __
6287 6283
6288 } } // namespace v8::internal 6284 } } // namespace v8::internal
6289 6285
6290 #endif // V8_TARGET_ARCH_IA32 6286 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/lithium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698