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

Side by Side Diff: src/isolate.cc

Issue 10093007: MIPS: Do the qNaN fixup at de-serialization time. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 8 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 | src/mips/assembler-mips.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 1824 matching lines...) Expand 10 before | Expand all | Expand 10 after
1835 1835
1836 // Finish initialization of ThreadLocal after deserialization is done. 1836 // Finish initialization of ThreadLocal after deserialization is done.
1837 clear_pending_exception(); 1837 clear_pending_exception();
1838 clear_pending_message(); 1838 clear_pending_message();
1839 clear_scheduled_exception(); 1839 clear_scheduled_exception();
1840 1840
1841 // Deserializing may put strange things in the root array's copy of the 1841 // Deserializing may put strange things in the root array's copy of the
1842 // stack guard. 1842 // stack guard.
1843 heap_.SetStackLimits(); 1843 heap_.SetStackLimits();
1844 1844
1845 // Quiet the heap NaN if needed on target platform.
1846 if(des != NULL) Assembler::QuietNaN(heap_.nan_value());
Erik Corry 2012/04/20 14:55:25 Missing space after 'if'
1847
1845 deoptimizer_data_ = new DeoptimizerData; 1848 deoptimizer_data_ = new DeoptimizerData;
1846 runtime_profiler_ = new RuntimeProfiler(this); 1849 runtime_profiler_ = new RuntimeProfiler(this);
1847 runtime_profiler_->SetUp(); 1850 runtime_profiler_->SetUp();
1848 1851
1849 // If we are deserializing, log non-function code objects and compiled 1852 // If we are deserializing, log non-function code objects and compiled
1850 // functions found in the snapshot. 1853 // functions found in the snapshot.
1851 if (des != NULL && (FLAG_log_code || FLAG_ll_prof)) { 1854 if (des != NULL && (FLAG_log_code || FLAG_ll_prof)) {
1852 HandleScope scope; 1855 HandleScope scope;
1853 LOG(this, LogCodeObjects()); 1856 LOG(this, LogCodeObjects());
1854 LOG(this, LogCompiledFunctions()); 1857 LOG(this, LogCompiledFunctions());
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
1941 1944
1942 #ifdef DEBUG 1945 #ifdef DEBUG
1943 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 1946 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
1944 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 1947 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
1945 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 1948 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
1946 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 1949 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
1947 #undef ISOLATE_FIELD_OFFSET 1950 #undef ISOLATE_FIELD_OFFSET
1948 #endif 1951 #endif
1949 1952
1950 } } // namespace v8::internal 1953 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/mips/assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698