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

Side by Side Diff: src/serialize.cc

Issue 652041: IA32: Native access to TranscendentalCache for sin/cos. (Closed)
Patch Set: Updated to head. Removed dead code. Ignore first patch. Created 10 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
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 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 #endif 425 #endif
426 // Keyed lookup cache. 426 // Keyed lookup cache.
427 Add(ExternalReference::keyed_lookup_cache_keys().address(), 427 Add(ExternalReference::keyed_lookup_cache_keys().address(),
428 UNCLASSIFIED, 428 UNCLASSIFIED,
429 23, 429 23,
430 "KeyedLookupCache::keys()"); 430 "KeyedLookupCache::keys()");
431 Add(ExternalReference::keyed_lookup_cache_field_offsets().address(), 431 Add(ExternalReference::keyed_lookup_cache_field_offsets().address(),
432 UNCLASSIFIED, 432 UNCLASSIFIED,
433 24, 433 24,
434 "KeyedLookupCache::field_offsets()"); 434 "KeyedLookupCache::field_offsets()");
435 Add(ExternalReference::transcendental_cache_array_address().address(),
436 UNCLASSIFIED,
437 25,
438 "TranscendentalCache::caches()");
435 } 439 }
436 440
437 441
438 ExternalReferenceEncoder::ExternalReferenceEncoder() 442 ExternalReferenceEncoder::ExternalReferenceEncoder()
439 : encodings_(Match) { 443 : encodings_(Match) {
440 ExternalReferenceTable* external_references = 444 ExternalReferenceTable* external_references =
441 ExternalReferenceTable::instance(); 445 ExternalReferenceTable::instance();
442 for (int i = 0; i < external_references->size(); ++i) { 446 for (int i = 0; i < external_references->size(); ++i) {
443 Put(external_references->address(i), i); 447 Put(external_references->address(i), i);
444 } 448 }
(...skipping 907 matching lines...) Expand 10 before | Expand all | Expand 10 after
1352 fullness_[space] = RoundUp(fullness_[space], Page::kPageSize); 1356 fullness_[space] = RoundUp(fullness_[space], Page::kPageSize);
1353 } 1357 }
1354 } 1358 }
1355 int allocation_address = fullness_[space]; 1359 int allocation_address = fullness_[space];
1356 fullness_[space] = allocation_address + size; 1360 fullness_[space] = allocation_address + size;
1357 return allocation_address; 1361 return allocation_address;
1358 } 1362 }
1359 1363
1360 1364
1361 } } // namespace v8::internal 1365 } } // namespace v8::internal
OLDNEW
« src/ia32/disasm-ia32.cc ('K') | « src/runtime.cc ('k') | src/v8-counters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698