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

Unified Diff: src/messages.js

Issue 12284002: Remove wrong uses of InternalPackedArray. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/json.js ('k') | src/v8natives.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/messages.js
diff --git a/src/messages.js b/src/messages.js
index 0d9c90d365f5b117dd89e9c5abc97b761fb121c9..4a8143e611162a447436ecb64aefb670e10c14fb 100644
--- a/src/messages.js
+++ b/src/messages.js
@@ -557,7 +557,7 @@ function ScriptNameOrSourceURL() {
// Don't reuse lastMatchInfo here, so we create a new array with room
// for four captures (array with length one longer than the index
// of the fourth capture, where the numbering is zero-based).
- var matchInfo = new InternalPackedArray(CAPTURE(3) + 1);
+ var matchInfo = new InternalArray(CAPTURE(3) + 1);
var match =
%_RegExpExec(sourceUrlPattern, source, sourceUrlPos - 4, matchInfo);
if (match) {
@@ -1033,7 +1033,7 @@ function FormatErrorString(error) {
function GetStackFrames(raw_stack) {
- var frames = new InternalPackedArray();
+ var frames = new InternalArray();
for (var i = 0; i < raw_stack.length; i += 4) {
var recv = raw_stack[i];
var fun = raw_stack[i + 1];
@@ -1047,7 +1047,7 @@ function GetStackFrames(raw_stack) {
function FormatStackTrace(error_string, frames) {
- var lines = new InternalPackedArray();
+ var lines = new InternalArray();
lines.push(error_string);
for (var i = 0; i < frames.length; i++) {
var frame = frames[i];
« no previous file with comments | « src/json.js ('k') | src/v8natives.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698