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

Side by Side Diff: src/deoptimizer.cc

Issue 128303002: Merged r18000, r18013, r18298, r18319 into 3.22 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.22
Patch Set: Fix mips Created 6 years, 11 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/deoptimizer.h ('k') | src/ia32/builtins-ia32.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 1556 matching lines...) Expand 10 before | Expand all | Expand 10 after
1567 1567
1568 // Compute this frame's PC, state, and continuation. 1568 // Compute this frame's PC, state, and continuation.
1569 Code* trampoline = NULL; 1569 Code* trampoline = NULL;
1570 StubFunctionMode function_mode = descriptor->function_mode_; 1570 StubFunctionMode function_mode = descriptor->function_mode_;
1571 StubFailureTrampolineStub(function_mode).FindCodeInCache(&trampoline, 1571 StubFailureTrampolineStub(function_mode).FindCodeInCache(&trampoline,
1572 isolate_); 1572 isolate_);
1573 ASSERT(trampoline != NULL); 1573 ASSERT(trampoline != NULL);
1574 output_frame->SetPc(reinterpret_cast<intptr_t>( 1574 output_frame->SetPc(reinterpret_cast<intptr_t>(
1575 trampoline->instruction_start())); 1575 trampoline->instruction_start()));
1576 output_frame->SetState(Smi::FromInt(FullCodeGenerator::NO_REGISTERS)); 1576 output_frame->SetState(Smi::FromInt(FullCodeGenerator::NO_REGISTERS));
1577 Code* notify_failure = 1577 Code* notify_failure = NotifyStubFailureBuiltin();
1578 isolate_->builtins()->builtin(Builtins::kNotifyStubFailure);
1579 output_frame->SetContinuation( 1578 output_frame->SetContinuation(
1580 reinterpret_cast<intptr_t>(notify_failure->entry())); 1579 reinterpret_cast<intptr_t>(notify_failure->entry()));
1581 } 1580 }
1582 1581
1583 1582
1584 Handle<Object> Deoptimizer::MaterializeNextHeapObject() { 1583 Handle<Object> Deoptimizer::MaterializeNextHeapObject() {
1585 int object_index = materialization_object_index_++; 1584 int object_index = materialization_object_index_++;
1586 ObjectMaterializationDescriptor desc = deferred_objects_[object_index]; 1585 ObjectMaterializationDescriptor desc = deferred_objects_[object_index];
1587 const int length = desc.object_length(); 1586 const int length = desc.object_length();
1588 1587
(...skipping 1359 matching lines...) Expand 10 before | Expand all | Expand 10 after
2948 2947
2949 void DeoptimizedFrameInfo::Iterate(ObjectVisitor* v) { 2948 void DeoptimizedFrameInfo::Iterate(ObjectVisitor* v) {
2950 v->VisitPointer(BitCast<Object**>(&function_)); 2949 v->VisitPointer(BitCast<Object**>(&function_));
2951 v->VisitPointers(parameters_, parameters_ + parameters_count_); 2950 v->VisitPointers(parameters_, parameters_ + parameters_count_);
2952 v->VisitPointers(expression_stack_, expression_stack_ + expression_count_); 2951 v->VisitPointers(expression_stack_, expression_stack_ + expression_count_);
2953 } 2952 }
2954 2953
2955 #endif // ENABLE_DEBUGGER_SUPPORT 2954 #endif // ENABLE_DEBUGGER_SUPPORT
2956 2955
2957 } } // namespace v8::internal 2956 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/deoptimizer.h ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698