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

Side by Side Diff: src/heap.cc

Issue 201042: Win64 - Allow returning two values from a runtime function. (Closed)
Patch Set: Fixed typo. Created 11 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
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 1301 matching lines...) Expand 10 before | Expand all | Expand 10 after
1312 if (elements->IsFailure()) return false; 1312 if (elements->IsFailure()) return false;
1313 FixedArray::cast(elements)->set(0, Smi::FromInt(0)); 1313 FixedArray::cast(elements)->set(0, Smi::FromInt(0));
1314 JSObject::cast(obj)->set_elements(FixedArray::cast(elements)); 1314 JSObject::cast(obj)->set_elements(FixedArray::cast(elements));
1315 set_message_listeners(JSObject::cast(obj)); 1315 set_message_listeners(JSObject::cast(obj));
1316 1316
1317 return true; 1317 return true;
1318 } 1318 }
1319 1319
1320 1320
1321 void Heap::CreateCEntryStub() { 1321 void Heap::CreateCEntryStub() {
1322 CEntryStub stub; 1322 CEntryStub stub(1);
1323 set_c_entry_code(*stub.GetCode()); 1323 set_c_entry_code(*stub.GetCode());
1324 } 1324 }
1325 1325
1326 1326
1327 #if V8_TARGET_ARCH_ARM && V8_NATIVE_REGEXP 1327 #if V8_TARGET_ARCH_ARM && V8_NATIVE_REGEXP
1328 void Heap::CreateRegExpCEntryStub() { 1328 void Heap::CreateRegExpCEntryStub() {
1329 RegExpCEntryStub stub; 1329 RegExpCEntryStub stub;
1330 set_re_c_entry_code(*stub.GetCode()); 1330 set_re_c_entry_code(*stub.GetCode());
1331 } 1331 }
1332 #endif 1332 #endif
(...skipping 2674 matching lines...) Expand 10 before | Expand all | Expand 10 after
4007 for (int i = 0; i < kNumberOfCaches; i++) { 4007 for (int i = 0; i < kNumberOfCaches; i++) {
4008 if (caches_[i] != NULL) { 4008 if (caches_[i] != NULL) {
4009 delete caches_[i]; 4009 delete caches_[i];
4010 caches_[i] = NULL; 4010 caches_[i] = NULL;
4011 } 4011 }
4012 } 4012 }
4013 } 4013 }
4014 4014
4015 4015
4016 } } // namespace v8::internal 4016 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698