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

Side by Side Diff: src/objects.cc

Issue 551803004: Endian changes, support 64bit big endian (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/allocation-site-scopes.h" 8 #include "src/allocation-site-scopes.h"
9 #include "src/api.h" 9 #include "src/api.h"
10 #include "src/arguments.h" 10 #include "src/arguments.h"
(...skipping 10930 matching lines...) Expand 10 before | Expand all | Expand 10 after
10941 os << "\n"; 10941 os << "\n";
10942 } 10942 }
10943 #endif 10943 #endif
10944 } 10944 }
10945 10945
10946 os << "RelocInfo (size = " << relocation_size() << ")\n"; 10946 os << "RelocInfo (size = " << relocation_size() << ")\n";
10947 for (RelocIterator it(this); !it.done(); it.next()) { 10947 for (RelocIterator it(this); !it.done(); it.next()) {
10948 it.rinfo()->Print(GetIsolate(), os); 10948 it.rinfo()->Print(GetIsolate(), os);
10949 } 10949 }
10950 os << "\n"; 10950 os << "\n";
10951
10952 #ifdef OBJECT_PRINT
10953 if (FLAG_enable_ool_constant_pool) {
10954 ConstantPoolArray* pool = constant_pool();
10955 if (pool->length()) {
10956 os << "Constant Pool\n";
10957 pool->Print(os);
10958 os << "\n";
10959 }
10960 }
10961 #endif
10951 } 10962 }
10952 #endif // ENABLE_DISASSEMBLER 10963 #endif // ENABLE_DISASSEMBLER
10953 10964
10954 10965
10955 Handle<FixedArray> JSObject::SetFastElementsCapacityAndLength( 10966 Handle<FixedArray> JSObject::SetFastElementsCapacityAndLength(
10956 Handle<JSObject> object, 10967 Handle<JSObject> object,
10957 int capacity, 10968 int capacity,
10958 int length, 10969 int length,
10959 SetFastElementsCapacitySmiMode smi_mode) { 10970 SetFastElementsCapacitySmiMode smi_mode) {
10960 // We should never end in here with a pixel or external array. 10971 // We should never end in here with a pixel or external array.
(...skipping 5404 matching lines...) Expand 10 before | Expand all | Expand 10 after
16365 #define ERROR_MESSAGES_TEXTS(C, T) T, 16376 #define ERROR_MESSAGES_TEXTS(C, T) T,
16366 static const char* error_messages_[] = { 16377 static const char* error_messages_[] = {
16367 ERROR_MESSAGES_LIST(ERROR_MESSAGES_TEXTS) 16378 ERROR_MESSAGES_LIST(ERROR_MESSAGES_TEXTS)
16368 }; 16379 };
16369 #undef ERROR_MESSAGES_TEXTS 16380 #undef ERROR_MESSAGES_TEXTS
16370 return error_messages_[reason]; 16381 return error_messages_[reason];
16371 } 16382 }
16372 16383
16373 16384
16374 } } // namespace v8::internal 16385 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698