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

Side by Side Diff: src/assembler.h

Issue 2866008: [Isolates] Move contents of Top into Isolate.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: ensure we're synced Created 10 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/stub-cache-arm.cc ('k') | src/assembler.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 18 matching lines...) Expand all
29 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 30
31 // The original source code covered by the above license above has been 31 // The original source code covered by the above license above has been
32 // modified significantly by Google Inc. 32 // modified significantly by Google Inc.
33 // Copyright 2006-2009 the V8 project authors. All rights reserved. 33 // Copyright 2006-2009 the V8 project authors. All rights reserved.
34 34
35 #ifndef V8_ASSEMBLER_H_ 35 #ifndef V8_ASSEMBLER_H_
36 #define V8_ASSEMBLER_H_ 36 #define V8_ASSEMBLER_H_
37 37
38 #include "runtime.h" 38 #include "runtime.h"
39 #include "top.h"
40 #include "token.h" 39 #include "token.h"
41 #include "objects.h" 40 #include "objects.h"
42 41
43 namespace v8 { 42 namespace v8 {
44 namespace internal { 43 namespace internal {
45 44
46 45
47 // ----------------------------------------------------------------------------- 46 // -----------------------------------------------------------------------------
48 // Labels represent pc locations; they are typically jump or call targets. 47 // Labels represent pc locations; they are typically jump or call targets.
49 // After declaration, a label can be freely used to denote known or (yet) 48 // After declaration, a label can be freely used to denote known or (yet)
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 explicit ExternalReference(Runtime::Function* f); 410 explicit ExternalReference(Runtime::Function* f);
412 411
413 explicit ExternalReference(const IC_Utility& ic_utility); 412 explicit ExternalReference(const IC_Utility& ic_utility);
414 413
415 #ifdef ENABLE_DEBUGGER_SUPPORT 414 #ifdef ENABLE_DEBUGGER_SUPPORT
416 explicit ExternalReference(const Debug_Address& debug_address); 415 explicit ExternalReference(const Debug_Address& debug_address);
417 #endif 416 #endif
418 417
419 explicit ExternalReference(StatsCounter* counter); 418 explicit ExternalReference(StatsCounter* counter);
420 419
421 explicit ExternalReference(Top::AddressId id); 420 explicit ExternalReference(Isolate::AddressId id);
422 421
423 explicit ExternalReference(const SCTableReference& table_ref); 422 explicit ExternalReference(const SCTableReference& table_ref);
424 423
425 // One-of-a-kind references. These references are not part of a general 424 // One-of-a-kind references. These references are not part of a general
426 // pattern. This means that they have to be added to the 425 // pattern. This means that they have to be added to the
427 // ExternalReferenceTable in serialize.cc manually. 426 // ExternalReferenceTable in serialize.cc manually.
428 427
429 static ExternalReference perform_gc_function(); 428 static ExternalReference perform_gc_function();
430 static ExternalReference fill_heap_number_with_random_function(); 429 static ExternalReference fill_heap_number_with_random_function();
431 static ExternalReference random_uint32_function(); 430 static ExternalReference random_uint32_function();
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 unsigned int num_bits_set; 563 unsigned int num_bits_set;
565 for (num_bits_set = 0; x; x >>= 1) { 564 for (num_bits_set = 0; x; x >>= 1) {
566 num_bits_set += x & 1; 565 num_bits_set += x & 1;
567 } 566 }
568 return num_bits_set; 567 return num_bits_set;
569 } 568 }
570 569
571 } } // namespace v8::internal 570 } } // namespace v8::internal
572 571
573 #endif // V8_ASSEMBLER_H_ 572 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/arm/stub-cache-arm.cc ('k') | src/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698