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

Side by Side Diff: test/cctest/cctest.h

Issue 1153373003: Add new Float32x4 type for SIMD.js. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix int type mismatches. Created 5 years, 6 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 | « src/objects-printer.cc ('k') | test/cctest/test-heap.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 2008 the V8 project authors. All rights reserved. 1 // Copyright 2008 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 EXTENSION_LIST(DEFINE_EXTENSION_FLAG) 86 EXTENSION_LIST(DEFINE_EXTENSION_FLAG)
87 #undef DEFINE_EXTENSION_FLAG 87 #undef DEFINE_EXTENSION_FLAG
88 88
89 89
90 // Use this to expose protected methods in i::Heap. 90 // Use this to expose protected methods in i::Heap.
91 class TestHeap : public i::Heap { 91 class TestHeap : public i::Heap {
92 public: 92 public:
93 using i::Heap::AllocateByteArray; 93 using i::Heap::AllocateByteArray;
94 using i::Heap::AllocateFixedArray; 94 using i::Heap::AllocateFixedArray;
95 using i::Heap::AllocateHeapNumber; 95 using i::Heap::AllocateHeapNumber;
96 using i::Heap::AllocateFloat32x4;
96 using i::Heap::AllocateJSObject; 97 using i::Heap::AllocateJSObject;
97 using i::Heap::AllocateJSObjectFromMap; 98 using i::Heap::AllocateJSObjectFromMap;
98 using i::Heap::AllocateMap; 99 using i::Heap::AllocateMap;
99 using i::Heap::CopyCode; 100 using i::Heap::CopyCode;
100 using i::Heap::kInitialNumberStringCacheSize; 101 using i::Heap::kInitialNumberStringCacheSize;
101 }; 102 };
102 103
103 104
104 class CcTest { 105 class CcTest {
105 public: 106 public:
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 HandleAndZoneScope() {} 617 HandleAndZoneScope() {}
617 618
618 // Prefixing the below with main_ reduces a lot of naming clashes. 619 // Prefixing the below with main_ reduces a lot of naming clashes.
619 i::Zone* main_zone() { return &main_zone_; } 620 i::Zone* main_zone() { return &main_zone_; }
620 621
621 private: 622 private:
622 i::Zone main_zone_; 623 i::Zone main_zone_;
623 }; 624 };
624 625
625 #endif // ifndef CCTEST_H_ 626 #endif // ifndef CCTEST_H_
OLDNEW
« no previous file with comments | « src/objects-printer.cc ('k') | test/cctest/test-heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698