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

Side by Side Diff: src/serialize.cc

Issue 460142: Probe keyed load cache in generic keyed load stub.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years 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 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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 "NativeRegExpMacroAssembler::CaseInsensitiveCompareUC16()"); 478 "NativeRegExpMacroAssembler::CaseInsensitiveCompareUC16()");
479 Add(ExternalReference::re_check_stack_guard_state().address(), 479 Add(ExternalReference::re_check_stack_guard_state().address(),
480 UNCLASSIFIED, 480 UNCLASSIFIED,
481 20, 481 20,
482 "RegExpMacroAssembler*::CheckStackGuardState()"); 482 "RegExpMacroAssembler*::CheckStackGuardState()");
483 Add(ExternalReference::re_grow_stack().address(), 483 Add(ExternalReference::re_grow_stack().address(),
484 UNCLASSIFIED, 484 UNCLASSIFIED,
485 21, 485 21,
486 "NativeRegExpMacroAssembler::GrowStack()"); 486 "NativeRegExpMacroAssembler::GrowStack()");
487 #endif 487 #endif
488 // Keyed lookup cache.
489 Add(ExternalReference::keyed_lookup_cache_keys().address(),
490 UNCLASSIFIED,
491 22,
492 "KeyedLookupCache::keys()");
493 Add(ExternalReference::keyed_lookup_cache_field_offsets().address(),
494 UNCLASSIFIED,
495 23,
496 "KeyedLookupCache::field_offsets()");
497
488 } 498 }
489 499
490 500
491 ExternalReferenceEncoder::ExternalReferenceEncoder() 501 ExternalReferenceEncoder::ExternalReferenceEncoder()
492 : encodings_(Match) { 502 : encodings_(Match) {
493 ExternalReferenceTable* external_references = 503 ExternalReferenceTable* external_references =
494 ExternalReferenceTable::instance(); 504 ExternalReferenceTable::instance();
495 for (int i = 0; i < external_references->size(); ++i) { 505 for (int i = 0; i < external_references->size(); ++i) {
496 Put(external_references->address(i), i); 506 Put(external_references->address(i), i);
497 } 507 }
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after
1213 fullness_[space] = RoundUp(fullness_[space], Page::kPageSize); 1223 fullness_[space] = RoundUp(fullness_[space], Page::kPageSize);
1214 } 1224 }
1215 } 1225 }
1216 int allocation_address = fullness_[space]; 1226 int allocation_address = fullness_[space];
1217 fullness_[space] = allocation_address + size; 1227 fullness_[space] = allocation_address + size;
1218 return allocation_address; 1228 return allocation_address;
1219 } 1229 }
1220 1230
1221 1231
1222 } } // namespace v8::internal 1232 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698