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

Unified Diff: src/code-stubs.h

Issue 8568013: Introduce read buffer for external strings when using charAt (ia32). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: . Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/extensions/externalize-string-extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs.h
diff --git a/src/code-stubs.h b/src/code-stubs.h
index 83b0f49140e07de902782721d0a30be6cf337789..5276ce70843626f74ac180baa2a0435db6d48a23 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -794,6 +794,15 @@ class StringCharCodeAtGenerator {
void GenerateSlow(MacroAssembler* masm,
const RuntimeCallHelper& call_helper);
+ // Generates the code for handling different string types and loading the
+ // result character. We expect |index| to be not smi-tagged.
+ static void GenerateCharLoad(MacroAssembler* masm,
+ Factory* factory,
+ Register string,
+ Register index,
+ Register result,
+ Label* call_runtime);
+
private:
Register object_;
Register index_;
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/extensions/externalize-string-extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698