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

Side by Side Diff: src/hydrogen.cc

Issue 8130002: Make accessors for oddball objects return Oddball* instead of Object*. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: split InitializeThreadLocal into two parts Created 9 years, 2 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/heap.cc ('k') | src/ic.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 4649 matching lines...) Expand 10 before | Expand all | Expand 10 after
4660 4660
4661 // ---------------------------------------------------------------- 4661 // ----------------------------------------------------------------
4662 // After this point, we've made a decision to inline this function (so 4662 // After this point, we've made a decision to inline this function (so
4663 // TryInline should always return true). 4663 // TryInline should always return true).
4664 4664
4665 // Save the pending call context and type feedback oracle. Set up new ones 4665 // Save the pending call context and type feedback oracle. Set up new ones
4666 // for the inlined function. 4666 // for the inlined function.
4667 ASSERT(target_shared->has_deoptimization_support()); 4667 ASSERT(target_shared->has_deoptimization_support());
4668 TypeFeedbackOracle target_oracle( 4668 TypeFeedbackOracle target_oracle(
4669 Handle<Code>(target_shared->code()), 4669 Handle<Code>(target_shared->code()),
4670 Handle<Context>(target->context()->global_context())); 4670 Handle<Context>(target->context()->global_context()),
4671 isolate());
4671 FunctionState target_state(this, &target_info, &target_oracle); 4672 FunctionState target_state(this, &target_info, &target_oracle);
4672 4673
4673 HConstant* undefined = graph()->GetConstantUndefined(); 4674 HConstant* undefined = graph()->GetConstantUndefined();
4674 HEnvironment* inner_env = 4675 HEnvironment* inner_env =
4675 environment()->CopyForInlining(target, 4676 environment()->CopyForInlining(target,
4676 function, 4677 function,
4677 undefined, 4678 undefined,
4678 call_kind); 4679 call_kind);
4679 #ifdef V8_TARGET_ARCH_IA32 4680 #ifdef V8_TARGET_ARCH_IA32
4680 // IA32 only, overwrite the caller's context in the deoptimization 4681 // IA32 only, overwrite the caller's context in the deoptimization
(...skipping 2261 matching lines...) Expand 10 before | Expand all | Expand 10 after
6942 } 6943 }
6943 } 6944 }
6944 6945
6945 #ifdef DEBUG 6946 #ifdef DEBUG
6946 if (graph_ != NULL) graph_->Verify(false); // No full verify. 6947 if (graph_ != NULL) graph_->Verify(false); // No full verify.
6947 if (allocator_ != NULL) allocator_->Verify(); 6948 if (allocator_ != NULL) allocator_->Verify();
6948 #endif 6949 #endif
6949 } 6950 }
6950 6951
6951 } } // namespace v8::internal 6952 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | src/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698