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

Side by Side Diff: src/isolate.h

Issue 10386090: Implement loop for global regexps in regexp assembler. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix bugs, add tests, port to x64 and arm. Created 8 years, 7 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 947 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 void set_simulator_redirection(Redirection* redirection) { 958 void set_simulator_redirection(Redirection* redirection) {
959 simulator_redirection_ = redirection; 959 simulator_redirection_ = redirection;
960 } 960 }
961 #endif 961 #endif
962 962
963 Factory* factory() { return reinterpret_cast<Factory*>(this); } 963 Factory* factory() { return reinterpret_cast<Factory*>(this); }
964 964
965 // SerializerDeserializer state. 965 // SerializerDeserializer state.
966 static const int kPartialSnapshotCacheCapacity = 1400; 966 static const int kPartialSnapshotCacheCapacity = 1400;
967 967
968 static const int kJSRegexpStaticOffsetsVectorSize = 50; 968 static const int kJSRegexpStaticOffsetsVectorSize = 128;
969 969
970 Address external_callback() { 970 Address external_callback() {
971 return thread_local_top_.external_callback_; 971 return thread_local_top_.external_callback_;
972 } 972 }
973 void set_external_callback(Address callback) { 973 void set_external_callback(Address callback) {
974 thread_local_top_.external_callback_ = callback; 974 thread_local_top_.external_callback_ = callback;
975 } 975 }
976 976
977 StateTag current_vm_state() { 977 StateTag current_vm_state() {
978 return thread_local_top_.current_vm_state_; 978 return thread_local_top_.current_vm_state_;
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
1406 1406
1407 // Mark the global context with out of memory. 1407 // Mark the global context with out of memory.
1408 inline void Context::mark_out_of_memory() { 1408 inline void Context::mark_out_of_memory() {
1409 global_context()->set_out_of_memory(HEAP->true_value()); 1409 global_context()->set_out_of_memory(HEAP->true_value());
1410 } 1410 }
1411 1411
1412 1412
1413 } } // namespace v8::internal 1413 } } // namespace v8::internal
1414 1414
1415 #endif // V8_ISOLATE_H_ 1415 #endif // V8_ISOLATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698