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

Side by Side Diff: src/runtime.cc

Issue 7787007: Key external array map transitions on ElementsKind instead of ExternalArrayType (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix whitespace Created 9 years, 3 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
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 10110 matching lines...) Expand 10 before | Expand all | Expand 10 after
10121 } 10121 }
10122 return maybe_value; 10122 return maybe_value;
10123 } 10123 }
10124 return value; 10124 return value;
10125 } else { 10125 } else {
10126 return heap->undefined_value(); 10126 return heap->undefined_value();
10127 } 10127 }
10128 } 10128 }
10129 case INTERCEPTOR: 10129 case INTERCEPTOR:
10130 case MAP_TRANSITION: 10130 case MAP_TRANSITION:
10131 case EXTERNAL_ARRAY_TRANSITION: 10131 case ELEMENTS_TRANSITION:
10132 case CONSTANT_TRANSITION: 10132 case CONSTANT_TRANSITION:
10133 case NULL_DESCRIPTOR: 10133 case NULL_DESCRIPTOR:
10134 return heap->undefined_value(); 10134 return heap->undefined_value();
10135 default: 10135 default:
10136 UNREACHABLE(); 10136 UNREACHABLE();
10137 } 10137 }
10138 UNREACHABLE(); 10138 UNREACHABLE();
10139 return heap->undefined_value(); 10139 return heap->undefined_value();
10140 } 10140 }
10141 10141
(...skipping 2985 matching lines...) Expand 10 before | Expand all | Expand 10 after
13127 } else { 13127 } else {
13128 // Handle last resort GC and make sure to allow future allocations 13128 // Handle last resort GC and make sure to allow future allocations
13129 // to grow the heap without causing GCs (if possible). 13129 // to grow the heap without causing GCs (if possible).
13130 isolate->counters()->gc_last_resort_from_js()->Increment(); 13130 isolate->counters()->gc_last_resort_from_js()->Increment();
13131 isolate->heap()->CollectAllGarbage(false); 13131 isolate->heap()->CollectAllGarbage(false);
13132 } 13132 }
13133 } 13133 }
13134 13134
13135 13135
13136 } } // namespace v8::internal 13136 } } // namespace v8::internal
OLDNEW
« src/property.cc ('K') | « src/property.cc ('k') | src/v8globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698