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

Side by Side Diff: src/heap.cc

Issue 14721009: Track computed literal properties. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove PLACEHOLDER_VALUE Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/heap.h ('k') | src/objects.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 2826 matching lines...) Expand 10 before | Expand all | Expand 10 after
2837 } 2837 }
2838 set_false_value(Oddball::cast(obj)); 2838 set_false_value(Oddball::cast(obj));
2839 2839
2840 { MaybeObject* maybe_obj = CreateOddball("hole", 2840 { MaybeObject* maybe_obj = CreateOddball("hole",
2841 Smi::FromInt(-1), 2841 Smi::FromInt(-1),
2842 Oddball::kTheHole); 2842 Oddball::kTheHole);
2843 if (!maybe_obj->ToObject(&obj)) return false; 2843 if (!maybe_obj->ToObject(&obj)) return false;
2844 } 2844 }
2845 set_the_hole_value(Oddball::cast(obj)); 2845 set_the_hole_value(Oddball::cast(obj));
2846 2846
2847 { MaybeObject* maybe_obj = CreateOddball("uninitialized",
2848 Smi::FromInt(-1),
2849 Oddball::kUninitialized);
2850 if (!maybe_obj->ToObject(&obj)) return false;
2851 }
2852 set_uninitialized_value(Oddball::cast(obj));
2853
2847 { MaybeObject* maybe_obj = CreateOddball("arguments_marker", 2854 { MaybeObject* maybe_obj = CreateOddball("arguments_marker",
2848 Smi::FromInt(-4), 2855 Smi::FromInt(-4),
2849 Oddball::kArgumentMarker); 2856 Oddball::kArgumentMarker);
2850 if (!maybe_obj->ToObject(&obj)) return false; 2857 if (!maybe_obj->ToObject(&obj)) return false;
2851 } 2858 }
2852 set_arguments_marker(Oddball::cast(obj)); 2859 set_arguments_marker(Oddball::cast(obj));
2853 2860
2854 { MaybeObject* maybe_obj = CreateOddball("no_interceptor_result_sentinel", 2861 { MaybeObject* maybe_obj = CreateOddball("no_interceptor_result_sentinel",
2855 Smi::FromInt(-2), 2862 Smi::FromInt(-2),
2856 Oddball::kOther); 2863 Oddball::kOther);
(...skipping 5086 matching lines...) Expand 10 before | Expand all | Expand 10 after
7943 if (FLAG_parallel_recompilation) { 7950 if (FLAG_parallel_recompilation) {
7944 heap_->relocation_mutex_->Lock(); 7951 heap_->relocation_mutex_->Lock();
7945 #ifdef DEBUG 7952 #ifdef DEBUG
7946 heap_->relocation_mutex_locked_by_optimizer_thread_ = 7953 heap_->relocation_mutex_locked_by_optimizer_thread_ =
7947 heap_->isolate()->optimizing_compiler_thread()->IsOptimizerThread(); 7954 heap_->isolate()->optimizing_compiler_thread()->IsOptimizerThread();
7948 #endif // DEBUG 7955 #endif // DEBUG
7949 } 7956 }
7950 } 7957 }
7951 7958
7952 } } // namespace v8::internal 7959 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/heap.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698