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

Side by Side Diff: src/serialize.cc

Issue 113343003: Remove the last remnants of the TranscendentalCache. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 7 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
« no previous file with comments | « src/runtime.cc ('k') | src/v8-counters.h » ('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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 #ifdef ENABLE_DEBUGGER_SUPPORT 371 #ifdef ENABLE_DEBUGGER_SUPPORT
372 Add(ExternalReference::debug_break(isolate).address(), 372 Add(ExternalReference::debug_break(isolate).address(),
373 UNCLASSIFIED, 373 UNCLASSIFIED,
374 16, 374 16,
375 "Debug::Break()"); 375 "Debug::Break()");
376 Add(ExternalReference::debug_step_in_fp_address(isolate).address(), 376 Add(ExternalReference::debug_step_in_fp_address(isolate).address(),
377 UNCLASSIFIED, 377 UNCLASSIFIED,
378 17, 378 17,
379 "Debug::step_in_fp_addr()"); 379 "Debug::step_in_fp_addr()");
380 #endif 380 #endif
381 Add(ExternalReference::double_fp_operation(Token::ADD, isolate).address(), 381 Add(ExternalReference::mod_two_doubles_operation(isolate).address(),
382 UNCLASSIFIED,
383 18,
384 "add_two_doubles");
385 Add(ExternalReference::double_fp_operation(Token::SUB, isolate).address(),
386 UNCLASSIFIED,
387 19,
388 "sub_two_doubles");
389 Add(ExternalReference::double_fp_operation(Token::MUL, isolate).address(),
390 UNCLASSIFIED,
391 20,
392 "mul_two_doubles");
393 Add(ExternalReference::double_fp_operation(Token::DIV, isolate).address(),
394 UNCLASSIFIED,
395 21,
396 "div_two_doubles");
397 Add(ExternalReference::double_fp_operation(Token::MOD, isolate).address(),
398 UNCLASSIFIED, 382 UNCLASSIFIED,
399 22, 383 22,
400 "mod_two_doubles"); 384 "mod_two_doubles");
401 Add(ExternalReference::compare_doubles(isolate).address(),
402 UNCLASSIFIED,
403 23,
404 "compare_doubles");
405 #ifndef V8_INTERPRETED_REGEXP 385 #ifndef V8_INTERPRETED_REGEXP
406 Add(ExternalReference::re_case_insensitive_compare_uc16(isolate).address(), 386 Add(ExternalReference::re_case_insensitive_compare_uc16(isolate).address(),
407 UNCLASSIFIED, 387 UNCLASSIFIED,
408 24, 388 24,
409 "NativeRegExpMacroAssembler::CaseInsensitiveCompareUC16()"); 389 "NativeRegExpMacroAssembler::CaseInsensitiveCompareUC16()");
410 Add(ExternalReference::re_check_stack_guard_state(isolate).address(), 390 Add(ExternalReference::re_check_stack_guard_state(isolate).address(),
411 UNCLASSIFIED, 391 UNCLASSIFIED,
412 25, 392 25,
413 "RegExpMacroAssembler*::CheckStackGuardState()"); 393 "RegExpMacroAssembler*::CheckStackGuardState()");
414 Add(ExternalReference::re_grow_stack(isolate).address(), 394 Add(ExternalReference::re_grow_stack(isolate).address(),
415 UNCLASSIFIED, 395 UNCLASSIFIED,
416 26, 396 26,
417 "NativeRegExpMacroAssembler::GrowStack()"); 397 "NativeRegExpMacroAssembler::GrowStack()");
418 Add(ExternalReference::re_word_character_map().address(), 398 Add(ExternalReference::re_word_character_map().address(),
419 UNCLASSIFIED, 399 UNCLASSIFIED,
420 27, 400 27,
421 "NativeRegExpMacroAssembler::word_character_map"); 401 "NativeRegExpMacroAssembler::word_character_map");
422 #endif // V8_INTERPRETED_REGEXP 402 #endif // V8_INTERPRETED_REGEXP
423 // Keyed lookup cache. 403 // Keyed lookup cache.
424 Add(ExternalReference::keyed_lookup_cache_keys(isolate).address(), 404 Add(ExternalReference::keyed_lookup_cache_keys(isolate).address(),
425 UNCLASSIFIED, 405 UNCLASSIFIED,
426 28, 406 28,
427 "KeyedLookupCache::keys()"); 407 "KeyedLookupCache::keys()");
428 Add(ExternalReference::keyed_lookup_cache_field_offsets(isolate).address(), 408 Add(ExternalReference::keyed_lookup_cache_field_offsets(isolate).address(),
429 UNCLASSIFIED, 409 UNCLASSIFIED,
430 29, 410 29,
431 "KeyedLookupCache::field_offsets()"); 411 "KeyedLookupCache::field_offsets()");
432 Add(ExternalReference::transcendental_cache_array_address(isolate).address(),
433 UNCLASSIFIED,
434 30,
435 "TranscendentalCache::caches()");
436 Add(ExternalReference::handle_scope_next_address(isolate).address(), 412 Add(ExternalReference::handle_scope_next_address(isolate).address(),
437 UNCLASSIFIED, 413 UNCLASSIFIED,
438 31, 414 31,
439 "HandleScope::next"); 415 "HandleScope::next");
440 Add(ExternalReference::handle_scope_limit_address(isolate).address(), 416 Add(ExternalReference::handle_scope_limit_address(isolate).address(),
441 UNCLASSIFIED, 417 UNCLASSIFIED,
442 32, 418 32,
443 "HandleScope::limit"); 419 "HandleScope::limit");
444 Add(ExternalReference::handle_scope_level_address(isolate).address(), 420 Add(ExternalReference::handle_scope_level_address(isolate).address(),
445 UNCLASSIFIED, 421 UNCLASSIFIED,
(...skipping 1426 matching lines...) Expand 10 before | Expand all | Expand 10 after
1872 1848
1873 bool SnapshotByteSource::AtEOF() { 1849 bool SnapshotByteSource::AtEOF() {
1874 if (0u + length_ - position_ > 2 * sizeof(uint32_t)) return false; 1850 if (0u + length_ - position_ > 2 * sizeof(uint32_t)) return false;
1875 for (int x = position_; x < length_; x++) { 1851 for (int x = position_; x < length_; x++) {
1876 if (data_[x] != SerializerDeserializer::nop()) return false; 1852 if (data_[x] != SerializerDeserializer::nop()) return false;
1877 } 1853 }
1878 return true; 1854 return true;
1879 } 1855 }
1880 1856
1881 } } // namespace v8::internal 1857 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/runtime.cc ('k') | src/v8-counters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698