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

Side by Side Diff: src/heap.h

Issue 6794050: Revert "[Arguments] Merge (7442,7496] from bleeding_edge." (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/arguments
Patch Set: Created 9 years, 8 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/full-codegen.cc ('k') | src/heap.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 V(code_symbol, ".code") \ 148 V(code_symbol, ".code") \
149 V(result_symbol, ".result") \ 149 V(result_symbol, ".result") \
150 V(catch_var_symbol, ".catch-var") \ 150 V(catch_var_symbol, ".catch-var") \
151 V(empty_symbol, "") \ 151 V(empty_symbol, "") \
152 V(eval_symbol, "eval") \ 152 V(eval_symbol, "eval") \
153 V(function_symbol, "function") \ 153 V(function_symbol, "function") \
154 V(length_symbol, "length") \ 154 V(length_symbol, "length") \
155 V(name_symbol, "name") \ 155 V(name_symbol, "name") \
156 V(number_symbol, "number") \ 156 V(number_symbol, "number") \
157 V(Number_symbol, "Number") \ 157 V(Number_symbol, "Number") \
158 V(nan_symbol, "NaN") \
159 V(RegExp_symbol, "RegExp") \ 158 V(RegExp_symbol, "RegExp") \
160 V(source_symbol, "source") \ 159 V(source_symbol, "source") \
161 V(global_symbol, "global") \ 160 V(global_symbol, "global") \
162 V(ignore_case_symbol, "ignoreCase") \ 161 V(ignore_case_symbol, "ignoreCase") \
163 V(multiline_symbol, "multiline") \ 162 V(multiline_symbol, "multiline") \
164 V(input_symbol, "input") \ 163 V(input_symbol, "input") \
165 V(index_symbol, "index") \ 164 V(index_symbol, "index") \
166 V(last_index_symbol, "lastIndex") \ 165 V(last_index_symbol, "lastIndex") \
167 V(object_symbol, "object") \ 166 V(object_symbol, "object") \
168 V(prototype_symbol, "prototype") \ 167 V(prototype_symbol, "prototype") \
(...skipping 1276 matching lines...) Expand 10 before | Expand all | Expand 10 after
1445 1444
1446 void CreateFixedStubs(); 1445 void CreateFixedStubs();
1447 1446
1448 MaybeObject* CreateOddball(const char* to_string, 1447 MaybeObject* CreateOddball(const char* to_string,
1449 Object* to_number, 1448 Object* to_number,
1450 byte kind); 1449 byte kind);
1451 1450
1452 // Allocate empty fixed array. 1451 // Allocate empty fixed array.
1453 MUST_USE_RESULT MaybeObject* AllocateEmptyFixedArray(); 1452 MUST_USE_RESULT MaybeObject* AllocateEmptyFixedArray();
1454 1453
1455 void SwitchScavengingVisitorsTableIfProfilingWasEnabled();
1456
1457 // Performs a minor collection in new generation. 1454 // Performs a minor collection in new generation.
1458 void Scavenge(); 1455 void Scavenge();
1459 1456
1460 static String* UpdateNewSpaceReferenceInExternalStringTableEntry( 1457 static String* UpdateNewSpaceReferenceInExternalStringTableEntry(
1461 Heap* heap, 1458 Heap* heap,
1462 Object** pointer); 1459 Object** pointer);
1463 1460
1464 Address DoScavenge(ObjectVisitor* scavenge_visitor, Address new_space_front); 1461 Address DoScavenge(ObjectVisitor* scavenge_visitor, Address new_space_front);
1465 1462
1466 // Performs a major collection in the whole heap. 1463 // Performs a major collection in the whole heap.
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after
2255 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2252 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2256 }; 2253 };
2257 #endif // DEBUG || LIVE_OBJECT_LIST 2254 #endif // DEBUG || LIVE_OBJECT_LIST
2258 2255
2259 2256
2260 } } // namespace v8::internal 2257 } } // namespace v8::internal
2261 2258
2262 #undef HEAP 2259 #undef HEAP
2263 2260
2264 #endif // V8_HEAP_H_ 2261 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/full-codegen.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698