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

Side by Side Diff: src/serialize.cc

Issue 12300018: Made Isolate a mandatory parameter for everything Handle-related. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed CreateCode calls. Be nicer to MIPS. Created 7 years, 10 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/runtime.cc ('k') | src/stub-cache.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 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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 28, 437 28,
438 "KeyedLookupCache::keys()"); 438 "KeyedLookupCache::keys()");
439 Add(ExternalReference::keyed_lookup_cache_field_offsets(isolate).address(), 439 Add(ExternalReference::keyed_lookup_cache_field_offsets(isolate).address(),
440 UNCLASSIFIED, 440 UNCLASSIFIED,
441 29, 441 29,
442 "KeyedLookupCache::field_offsets()"); 442 "KeyedLookupCache::field_offsets()");
443 Add(ExternalReference::transcendental_cache_array_address(isolate).address(), 443 Add(ExternalReference::transcendental_cache_array_address(isolate).address(),
444 UNCLASSIFIED, 444 UNCLASSIFIED,
445 30, 445 30,
446 "TranscendentalCache::caches()"); 446 "TranscendentalCache::caches()");
447 Add(ExternalReference::handle_scope_next_address().address(), 447 Add(ExternalReference::handle_scope_next_address(isolate).address(),
448 UNCLASSIFIED, 448 UNCLASSIFIED,
449 31, 449 31,
450 "HandleScope::next"); 450 "HandleScope::next");
451 Add(ExternalReference::handle_scope_limit_address().address(), 451 Add(ExternalReference::handle_scope_limit_address(isolate).address(),
452 UNCLASSIFIED, 452 UNCLASSIFIED,
453 32, 453 32,
454 "HandleScope::limit"); 454 "HandleScope::limit");
455 Add(ExternalReference::handle_scope_level_address().address(), 455 Add(ExternalReference::handle_scope_level_address(isolate).address(),
456 UNCLASSIFIED, 456 UNCLASSIFIED,
457 33, 457 33,
458 "HandleScope::level"); 458 "HandleScope::level");
459 Add(ExternalReference::new_deoptimizer_function(isolate).address(), 459 Add(ExternalReference::new_deoptimizer_function(isolate).address(),
460 UNCLASSIFIED, 460 UNCLASSIFIED,
461 34, 461 34,
462 "Deoptimizer::New()"); 462 "Deoptimizer::New()");
463 Add(ExternalReference::compute_output_frames_function(isolate).address(), 463 Add(ExternalReference::compute_output_frames_function(isolate).address(),
464 UNCLASSIFIED, 464 UNCLASSIFIED,
465 35, 465 35,
(...skipping 1185 matching lines...) Expand 10 before | Expand all | Expand 10 after
1651 1651
1652 bool SnapshotByteSource::AtEOF() { 1652 bool SnapshotByteSource::AtEOF() {
1653 if (0u + length_ - position_ > 2 * sizeof(uint32_t)) return false; 1653 if (0u + length_ - position_ > 2 * sizeof(uint32_t)) return false;
1654 for (int x = position_; x < length_; x++) { 1654 for (int x = position_; x < length_; x++) {
1655 if (data_[x] != SerializerDeserializer::nop()) return false; 1655 if (data_[x] != SerializerDeserializer::nop()) return false;
1656 } 1656 }
1657 return true; 1657 return true;
1658 } 1658 }
1659 1659
1660 } } // namespace v8::internal 1660 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/runtime.cc ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698