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

Side by Side Diff: src/assembler.h

Issue 6577036: [Isolates] Merge from bleeding_edge to isolates, revisions 6100-6300. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: '' Created 9 years, 9 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/array.js ('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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 namespace internal { 42 namespace internal {
43 43
44 44
45 // ----------------------------------------------------------------------------- 45 // -----------------------------------------------------------------------------
46 // Common double constants. 46 // Common double constants.
47 47
48 class DoubleConstant: public AllStatic { 48 class DoubleConstant: public AllStatic {
49 public: 49 public:
50 static const double min_int; 50 static const double min_int;
51 static const double one_half; 51 static const double one_half;
52 static const double minus_zero;
52 static const double negative_infinity; 53 static const double negative_infinity;
53 }; 54 };
54 55
55 56
56 // ----------------------------------------------------------------------------- 57 // -----------------------------------------------------------------------------
57 // Labels represent pc locations; they are typically jump or call targets. 58 // Labels represent pc locations; they are typically jump or call targets.
58 // After declaration, a label can be freely used to denote known or (yet) 59 // After declaration, a label can be freely used to denote known or (yet)
59 // unknown pc location. Assembler::bind() is used to bind a label to the 60 // unknown pc location. Assembler::bind() is used to bind a label to the
60 // current pc. A label can be bound only once. 61 // current pc. A label can be bound only once.
61 62
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 static ExternalReference compute_output_frames_function(); 505 static ExternalReference compute_output_frames_function();
505 static ExternalReference global_contexts_list(); 506 static ExternalReference global_contexts_list();
506 507
507 // Static data in the keyed lookup cache. 508 // Static data in the keyed lookup cache.
508 static ExternalReference keyed_lookup_cache_keys(); 509 static ExternalReference keyed_lookup_cache_keys();
509 static ExternalReference keyed_lookup_cache_field_offsets(); 510 static ExternalReference keyed_lookup_cache_field_offsets();
510 511
511 // Static variable Factory::the_hole_value.location() 512 // Static variable Factory::the_hole_value.location()
512 static ExternalReference the_hole_value_location(); 513 static ExternalReference the_hole_value_location();
513 514
515 // Static variable Factory::arguments_marker.location()
516 static ExternalReference arguments_marker_location();
517
514 // Static variable Heap::roots_address() 518 // Static variable Heap::roots_address()
515 static ExternalReference roots_address(); 519 static ExternalReference roots_address();
516 520
517 // Static variable StackGuard::address_of_jslimit() 521 // Static variable StackGuard::address_of_jslimit()
518 static ExternalReference address_of_stack_limit(); 522 static ExternalReference address_of_stack_limit();
519 523
520 // Static variable StackGuard::address_of_real_jslimit() 524 // Static variable StackGuard::address_of_real_jslimit()
521 static ExternalReference address_of_real_stack_limit(); 525 static ExternalReference address_of_real_stack_limit();
522 526
523 // Static variable RegExpStack::limit_address() 527 // Static variable RegExpStack::limit_address()
(...skipping 20 matching lines...) Expand all
544 548
545 static ExternalReference handle_scope_next_address(); 549 static ExternalReference handle_scope_next_address();
546 static ExternalReference handle_scope_limit_address(); 550 static ExternalReference handle_scope_limit_address();
547 static ExternalReference handle_scope_level_address(); 551 static ExternalReference handle_scope_level_address();
548 552
549 static ExternalReference scheduled_exception_address(); 553 static ExternalReference scheduled_exception_address();
550 554
551 // Static variables containing common double constants. 555 // Static variables containing common double constants.
552 static ExternalReference address_of_min_int(); 556 static ExternalReference address_of_min_int();
553 static ExternalReference address_of_one_half(); 557 static ExternalReference address_of_one_half();
558 static ExternalReference address_of_minus_zero();
554 static ExternalReference address_of_negative_infinity(); 559 static ExternalReference address_of_negative_infinity();
555 560
556 Address address() const {return reinterpret_cast<Address>(address_);} 561 Address address() const {return reinterpret_cast<Address>(address_);}
557 562
558 #ifdef ENABLE_DEBUGGER_SUPPORT 563 #ifdef ENABLE_DEBUGGER_SUPPORT
559 // Function Debug::Break() 564 // Function Debug::Break()
560 static ExternalReference debug_break(); 565 static ExternalReference debug_break();
561 566
562 // Used to check if single stepping is enabled in generated code. 567 // Used to check if single stepping is enabled in generated code.
563 static ExternalReference debug_step_in_fp_address(); 568 static ExternalReference debug_step_in_fp_address();
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 return num_bits_set; 721 return num_bits_set;
717 } 722 }
718 723
719 // Computes pow(x, y) with the special cases in the spec for Math.pow. 724 // Computes pow(x, y) with the special cases in the spec for Math.pow.
720 double power_double_int(double x, int y); 725 double power_double_int(double x, int y);
721 double power_double_double(double x, double y); 726 double power_double_double(double x, double y);
722 727
723 } } // namespace v8::internal 728 } } // namespace v8::internal
724 729
725 #endif // V8_ASSEMBLER_H_ 730 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/array.js ('k') | src/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698