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

Side by Side Diff: test/cctest/test-serialize.cc

Issue 1372513003: [turbofan] Rename --context-specialization to --function-context-specialization. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « test/cctest/compiler/test-run-properties.cc ('k') | test/mjsunit/regress/regress-4374.js » ('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 2007-2010 the V8 project authors. All rights reserved. 1 // Copyright 2007-2010 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 1581 matching lines...) Expand 10 before | Expand all | Expand 10 after
1592 } 1592 }
1593 isolate2->Dispose(); 1593 isolate2->Dispose();
1594 } 1594 }
1595 1595
1596 1596
1597 TEST(SerializeInternalReference) { 1597 TEST(SerializeInternalReference) {
1598 #if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_ARM64 1598 #if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_ARM64
1599 return; 1599 return;
1600 #endif 1600 #endif
1601 // Disable experimental natives that are loaded after deserialization. 1601 // Disable experimental natives that are loaded after deserialization.
1602 FLAG_context_specialization = false; 1602 FLAG_function_context_specialization = false;
1603 FLAG_always_opt = true; 1603 FLAG_always_opt = true;
1604 const char* flag = "--turbo-filter=foo"; 1604 const char* flag = "--turbo-filter=foo";
1605 FlagList::SetFlagsFromString(flag, StrLength(flag)); 1605 FlagList::SetFlagsFromString(flag, StrLength(flag));
1606 1606
1607 const char* source = 1607 const char* source =
1608 "var foo = (function(stdlib, foreign, heap) {" 1608 "var foo = (function(stdlib, foreign, heap) {"
1609 " function foo(i) {" 1609 " function foo(i) {"
1610 " i = i|0;" 1610 " i = i|0;"
1611 " var j = 0;" 1611 " var j = 0;"
1612 " switch (i) {" 1612 " switch (i) {"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
1686 delete script_data; 1686 delete script_data;
1687 } 1687 }
1688 1688
1689 1689
1690 TEST(SerializationMemoryStats) { 1690 TEST(SerializationMemoryStats) {
1691 FLAG_profile_deserialization = true; 1691 FLAG_profile_deserialization = true;
1692 FLAG_always_opt = false; 1692 FLAG_always_opt = false;
1693 v8::StartupData blob = v8::V8::CreateSnapshotDataBlob(); 1693 v8::StartupData blob = v8::V8::CreateSnapshotDataBlob();
1694 delete[] blob.data; 1694 delete[] blob.data;
1695 } 1695 }
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-run-properties.cc ('k') | test/mjsunit/regress/regress-4374.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698