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

Side by Side Diff: src/serialize.cc

Issue 2836051: Fix compilation and linking with V8_INTERPRETED_REGEXP flag. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 5 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 3, 353 3,
354 "Heap::roots_address()"); 354 "Heap::roots_address()");
355 Add(ExternalReference::address_of_stack_limit().address(), 355 Add(ExternalReference::address_of_stack_limit().address(),
356 UNCLASSIFIED, 356 UNCLASSIFIED,
357 4, 357 4,
358 "StackGuard::address_of_jslimit()"); 358 "StackGuard::address_of_jslimit()");
359 Add(ExternalReference::address_of_real_stack_limit().address(), 359 Add(ExternalReference::address_of_real_stack_limit().address(),
360 UNCLASSIFIED, 360 UNCLASSIFIED,
361 5, 361 5,
362 "StackGuard::address_of_real_jslimit()"); 362 "StackGuard::address_of_real_jslimit()");
363 #ifndef V8_INTERPRETED_REGEXP
363 Add(ExternalReference::address_of_regexp_stack_limit().address(), 364 Add(ExternalReference::address_of_regexp_stack_limit().address(),
364 UNCLASSIFIED, 365 UNCLASSIFIED,
365 6, 366 6,
366 "RegExpStack::limit_address()"); 367 "RegExpStack::limit_address()");
367 Add(ExternalReference::address_of_regexp_stack_memory_address().address(), 368 Add(ExternalReference::address_of_regexp_stack_memory_address().address(),
368 UNCLASSIFIED, 369 UNCLASSIFIED,
369 7, 370 7,
370 "RegExpStack::memory_address()"); 371 "RegExpStack::memory_address()");
371 Add(ExternalReference::address_of_regexp_stack_memory_size().address(), 372 Add(ExternalReference::address_of_regexp_stack_memory_size().address(),
372 UNCLASSIFIED, 373 UNCLASSIFIED,
373 8, 374 8,
374 "RegExpStack::memory_size()"); 375 "RegExpStack::memory_size()");
375 Add(ExternalReference::address_of_static_offsets_vector().address(), 376 Add(ExternalReference::address_of_static_offsets_vector().address(),
376 UNCLASSIFIED, 377 UNCLASSIFIED,
377 9, 378 9,
378 "OffsetsVector::static_offsets_vector"); 379 "OffsetsVector::static_offsets_vector");
380 #endif // V8_INTERPRETED_REGEXP
379 Add(ExternalReference::new_space_start().address(), 381 Add(ExternalReference::new_space_start().address(),
380 UNCLASSIFIED, 382 UNCLASSIFIED,
381 10, 383 10,
382 "Heap::NewSpaceStart()"); 384 "Heap::NewSpaceStart()");
383 Add(ExternalReference::new_space_mask().address(), 385 Add(ExternalReference::new_space_mask().address(),
384 UNCLASSIFIED, 386 UNCLASSIFIED,
385 11, 387 11,
386 "Heap::NewSpaceMask()"); 388 "Heap::NewSpaceMask()");
387 Add(ExternalReference::heap_always_allocate_scope_depth().address(), 389 Add(ExternalReference::heap_always_allocate_scope_depth().address(),
388 UNCLASSIFIED, 390 UNCLASSIFIED,
(...skipping 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after
1450 fullness_[space] = RoundUp(fullness_[space], Page::kPageSize); 1452 fullness_[space] = RoundUp(fullness_[space], Page::kPageSize);
1451 } 1453 }
1452 } 1454 }
1453 int allocation_address = fullness_[space]; 1455 int allocation_address = fullness_[space];
1454 fullness_[space] = allocation_address + size; 1456 fullness_[space] = allocation_address + size;
1455 return allocation_address; 1457 return allocation_address;
1456 } 1458 }
1457 1459
1458 1460
1459 } } // namespace v8::internal 1461 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698