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

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

Issue 1136223004: Unify reading of deoptimization information. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix too restrictive check Created 5 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
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/mips64/lithium-codegen-mips64.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.7 1 // Copyright 2012 the V8 project authors. All rights reserved.7
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 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 DCHECK(translation_size == 1); 615 DCHECK(translation_size == 1);
616 DCHECK(height == 0); 616 DCHECK(height == 0);
617 translation->BeginGetterStubFrame(closure_id); 617 translation->BeginGetterStubFrame(closure_id);
618 break; 618 break;
619 case JS_SETTER: 619 case JS_SETTER:
620 DCHECK(translation_size == 2); 620 DCHECK(translation_size == 2);
621 DCHECK(height == 0); 621 DCHECK(height == 0);
622 translation->BeginSetterStubFrame(closure_id); 622 translation->BeginSetterStubFrame(closure_id);
623 break; 623 break;
624 case STUB: 624 case STUB:
625 translation->BeginCompiledStubFrame(); 625 translation->BeginCompiledStubFrame(translation_size);
626 break; 626 break;
627 case ARGUMENTS_ADAPTOR: 627 case ARGUMENTS_ADAPTOR:
628 translation->BeginArgumentsAdaptorFrame(closure_id, translation_size); 628 translation->BeginArgumentsAdaptorFrame(closure_id, translation_size);
629 break; 629 break;
630 } 630 }
631 631
632 int object_index = 0; 632 int object_index = 0;
633 int dematerialized_index = 0; 633 int dematerialized_index = 0;
634 for (int i = 0; i < translation_size; ++i) { 634 for (int i = 0; i < translation_size; ++i) {
635 LOperand* value = environment->values()->at(i); 635 LOperand* value = environment->values()->at(i);
(...skipping 5426 matching lines...) Expand 10 before | Expand all | Expand 10 after
6062 __ Push(at, ToRegister(instr->function())); 6062 __ Push(at, ToRegister(instr->function()));
6063 CallRuntime(Runtime::kPushBlockContext, 2, instr); 6063 CallRuntime(Runtime::kPushBlockContext, 2, instr);
6064 RecordSafepoint(Safepoint::kNoLazyDeopt); 6064 RecordSafepoint(Safepoint::kNoLazyDeopt);
6065 } 6065 }
6066 6066
6067 6067
6068 #undef __ 6068 #undef __
6069 6069
6070 } // namespace internal 6070 } // namespace internal
6071 } // namespace v8 6071 } // namespace v8
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/mips64/lithium-codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698