PageRenderTime 19ms CodeModel.GetById 12ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

/js/src/jit-test/tests/basic/testRegExpLiteral.js

http://github.com/zpao/v8monkey
JavaScript | 17 lines | 14 code | 3 blank | 0 comment | 1 complexity | 466c4cf4df22c4d4214ff4223487c4cd MD5 | raw file
 1function testRegExpLiteral()
 2{
 3  var a;
 4  for (var i = 0; i < 15; i++)
 5    a = /foobar/;
 6}
 7
 8testRegExpLiteral();
 9
10checkStats({
11             recorderStarted: 1,
12             sideExitIntoInterpreter: 1,
13             recorderAborted: 0,
14             traceTriggered: 1,
15             traceCompleted: 1
16           });
17