OLD | NEW |
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 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1085 } | 1085 } |
1086 | 1086 |
1087 ExternalReference ExternalReference::re_word_character_map() { | 1087 ExternalReference ExternalReference::re_word_character_map() { |
1088 return ExternalReference( | 1088 return ExternalReference( |
1089 NativeRegExpMacroAssembler::word_character_map_address()); | 1089 NativeRegExpMacroAssembler::word_character_map_address()); |
1090 } | 1090 } |
1091 | 1091 |
1092 ExternalReference ExternalReference::address_of_static_offsets_vector( | 1092 ExternalReference ExternalReference::address_of_static_offsets_vector( |
1093 Isolate* isolate) { | 1093 Isolate* isolate) { |
1094 return ExternalReference( | 1094 return ExternalReference( |
1095 OffsetsVector::static_offsets_vector_address(isolate)); | 1095 reinterpret_cast<Address>(isolate->jsregexp_static_offsets_vector())); |
1096 } | 1096 } |
1097 | 1097 |
1098 ExternalReference ExternalReference::address_of_regexp_stack_memory_address( | 1098 ExternalReference ExternalReference::address_of_regexp_stack_memory_address( |
1099 Isolate* isolate) { | 1099 Isolate* isolate) { |
1100 return ExternalReference( | 1100 return ExternalReference( |
1101 isolate->regexp_stack()->memory_address()); | 1101 isolate->regexp_stack()->memory_address()); |
1102 } | 1102 } |
1103 | 1103 |
1104 ExternalReference ExternalReference::address_of_regexp_stack_memory_size( | 1104 ExternalReference ExternalReference::address_of_regexp_stack_memory_size( |
1105 Isolate* isolate) { | 1105 Isolate* isolate) { |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1366 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); | 1366 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); |
1367 state_.written_position = state_.current_position; | 1367 state_.written_position = state_.current_position; |
1368 written = true; | 1368 written = true; |
1369 } | 1369 } |
1370 | 1370 |
1371 // Return whether something was written. | 1371 // Return whether something was written. |
1372 return written; | 1372 return written; |
1373 } | 1373 } |
1374 | 1374 |
1375 } } // namespace v8::internal | 1375 } } // namespace v8::internal |
OLD | NEW |