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

Side by Side Diff: src/mark-compact.cc

Issue 211333002: Replace HeapNumber as doublebox with an explicit MutableHeapNumber. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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
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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 case TYPE_FEEDBACK_INFO_TYPE: 307 case TYPE_FEEDBACK_INFO_TYPE:
308 object->Iterate(this); 308 object->Iterate(this);
309 break; 309 break;
310 case DECLARED_ACCESSOR_INFO_TYPE: 310 case DECLARED_ACCESSOR_INFO_TYPE:
311 case EXECUTABLE_ACCESSOR_INFO_TYPE: 311 case EXECUTABLE_ACCESSOR_INFO_TYPE:
312 case BYTE_ARRAY_TYPE: 312 case BYTE_ARRAY_TYPE:
313 case CALL_HANDLER_INFO_TYPE: 313 case CALL_HANDLER_INFO_TYPE:
314 case CODE_TYPE: 314 case CODE_TYPE:
315 case FIXED_DOUBLE_ARRAY_TYPE: 315 case FIXED_DOUBLE_ARRAY_TYPE:
316 case HEAP_NUMBER_TYPE: 316 case HEAP_NUMBER_TYPE:
317 case MUTABLE_HEAP_NUMBER_TYPE:
317 case INTERCEPTOR_INFO_TYPE: 318 case INTERCEPTOR_INFO_TYPE:
318 case ODDBALL_TYPE: 319 case ODDBALL_TYPE:
319 case SCRIPT_TYPE: 320 case SCRIPT_TYPE:
320 case SHARED_FUNCTION_INFO_TYPE: 321 case SHARED_FUNCTION_INFO_TYPE:
321 break; 322 break;
322 default: 323 default:
323 UNREACHABLE(); 324 UNREACHABLE();
324 } 325 }
325 } 326 }
326 } 327 }
(...skipping 4193 matching lines...) Expand 10 before | Expand all | Expand 10 after
4520 while (buffer != NULL) { 4521 while (buffer != NULL) {
4521 SlotsBuffer* next_buffer = buffer->next(); 4522 SlotsBuffer* next_buffer = buffer->next();
4522 DeallocateBuffer(buffer); 4523 DeallocateBuffer(buffer);
4523 buffer = next_buffer; 4524 buffer = next_buffer;
4524 } 4525 }
4525 *buffer_address = NULL; 4526 *buffer_address = NULL;
4526 } 4527 }
4527 4528
4528 4529
4529 } } // namespace v8::internal 4530 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698